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 01:57:34 UTC

[7/8] git commit: Correct the jQuery version of ElementWrapper.children()

Correct the jQuery version of ElementWrapper.children()


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

Branch: refs/heads/master
Commit: bc47f5d8b67a2f1e7736a62131329a0e304890a8
Parents: f649276
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Mon Jul 22 10:04:23 2013 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Mon Jul 22 10:04:23 2013 -0700

----------------------------------------------------------------------
 .../org/apache/tapestry5/t5-core-dom.coffee                        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/bc47f5d8/tapestry-core/src/main/preprocessed-coffeescript/org/apache/tapestry5/t5-core-dom.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/preprocessed-coffeescript/org/apache/tapestry5/t5-core-dom.coffee b/tapestry-core/src/main/preprocessed-coffeescript/org/apache/tapestry5/t5-core-dom.coffee
index 4fa9ca4..eac41fd 100644
--- a/tapestry-core/src/main/preprocessed-coffeescript/org/apache/tapestry5/t5-core-dom.coffee
+++ b/tapestry-core/src/main/preprocessed-coffeescript/org/apache/tapestry5/t5-core-dom.coffee
@@ -507,7 +507,7 @@ define ["underscore", "./utils", "./events", "jquery"],
 #if jquery
       children = @$.children()
 
-      for i in [0...matches.length]
+      for i in [0...children.length]
         new ElementWrapper children.eq i
 
 #elseif prototype