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 14:36:43 UTC

svn commit: r944225 - /myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js

Author: werpu
Date: Fri May 14 12:36:43 2010
New Revision: 944225

URL: http://svn.apache.org/viewvc?rev=944225&view=rev
Log:
https://issues.apache.org/jira/browse/MYFACES-2716

adding missing license



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=944225&r1=944224&r2=944225&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 12:36:43 2010
@@ -658,9 +658,11 @@ myfaces._impl.core._Runtime.singletonExt
     }
     ,
     /**
+     * A parent walker which uses
+     * a filter closure for filtering
      *
-     * @param item
-     * @param filter
+     * @param {Node} item the root item to ascend from
+     * @param {function}Êfilter the filter closure
      */
     getFilteredParent : function(item, filter) {
         if ('undefined' == typeof item || null == item) {
@@ -682,9 +684,12 @@ myfaces._impl.core._Runtime.singletonExt
 
 
     /**
-     * @Deprecated
-     * @param item
-     * @param filter
+     * a closure based child filtering routine
+     * which steps one level down the tree and
+     * applies the filter closure
+     *
+     * @param item the node which has to be investigates
+     * @param filter the filter closure
      */
     getFilteredChild: function(item, filter) {
         var childItems = item.childNodes;