You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2010/05/14 22:19:01 UTC
svn commit: r944444 -
/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js
Author: werpu
Date: Fri May 14 20:19:01 2010
New Revision: 944444
URL: http://svn.apache.org/viewvc?rev=944444&view=rev
Log:
https://issues.apache.org/jira/browse/MYFACES-2716
removing treewalker code, to unstable for now
Modified:
myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js
Modified: myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js?rev=944444&r1=944443&r2=944444&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js (original)
+++ myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js Fri May 14 20:19:01 2010
@@ -215,7 +215,7 @@ myfaces._impl.core._Runtime.singletonExt
findFirst : function(fragment, filter) {
myfaces._impl._util._Lang._assertType(filter, "function");
- if (document.createTreeWalker && NodeFilter) {
+ /*if (document.createTreeWalker && NodeFilter) {
//we have a tree walker in place this allows for an optimized deep scan
var lastElementFound = null;
var treeWalkerfilter = function (node) {
@@ -227,7 +227,7 @@ myfaces._impl.core._Runtime.singletonExt
return treeWalker.currentNode;
}
return null;
- }
+ }*/
if (filter(fragment)) {
return fragment;