You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2013/07/23 02:06:45 UTC

git commit: Make use of the ElementWrapper.text() method, for jQuery compatibility

Updated Branches:
  refs/heads/master 1701e3b36 -> 4255ec37f


Make use of the ElementWrapper.text() method, for jQuery compatibility


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/4255ec37
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/4255ec37
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/4255ec37

Branch: refs/heads/master
Commit: 4255ec37f718e818fd1b6dd3dd0d48a5697b054e
Parents: 1701e3b
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Mon Jul 22 17:06:40 2013 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Mon Jul 22 17:06:40 2013 -0700

----------------------------------------------------------------------
 .../src/main/coffeescript/META-INF/modules/t5/core/console.coffee | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/4255ec37/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/console.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/console.coffee b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/console.coffee
index fcc6bf8..694913a 100644
--- a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/console.coffee
+++ b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/console.coffee
@@ -33,8 +33,7 @@ define ["./dom", "underscore"],
 
       text = text.toLowerCase()
 
-      filter = (e) ->
-        e.element.innerText.toLowerCase().indexOf(text) >= 0
+      filter = (e) -> e.text().toLowerCase().indexOf(text) >= 0
 
       return