X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..2e847cf21b8ab9d15fa167b315ca5b2fa92638fc:/src/widgets/tree/TreeFilter.js diff --git a/src/widgets/tree/TreeFilter.js b/src/widgets/tree/TreeFilter.js index 41541773..4adf0f96 100644 --- a/src/widgets/tree/TreeFilter.js +++ b/src/widgets/tree/TreeFilter.js @@ -1,6 +1,6 @@ /*! - * Ext JS Library 3.0.0 - * Copyright(c) 2006-2009 Ext JS, LLC + * Ext JS Library 3.1.1 + * Copyright(c) 2006-2010 Ext JS, LLC * licensing@extjs.com * http://www.extjs.com/license */ @@ -58,7 +58,7 @@ Ext.tree.TreeFilter.prototype = { * node in the tree (or from the startNode). If the function returns true, the node is kept * otherwise it is filtered. If a node is filtered, its children are also filtered. * @param {Function} fn The filter function - * @param {Object} scope (optional) The scope of the function (defaults to the current node) + * @param {Object} scope (optional) The scope (this reference) in which the function is executed. Defaults to the current Node. */ filterBy : function(fn, scope, startNode){ startNode = startNode || this.tree.root;