projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5167e90
)
Roo/util/MixedCollection.js
author
edward
<edward@roojs.com>
Mon, 9 Nov 2015 05:57:29 +0000
(13:57 +0800)
committer
edward
<edward@roojs.com>
Mon, 9 Nov 2015 05:57:29 +0000
(13:57 +0800)
Roo/util/MixedCollection.js
patch
|
blob
|
history
diff --git
a/Roo/util/MixedCollection.js
b/Roo/util/MixedCollection.js
index
86cd8b6
..
d1fe2cb
100644
(file)
--- a/
Roo/util/MixedCollection.js
+++ b/
Roo/util/MixedCollection.js
@@
-486,9
+486,13
@@
mc.add(otherEl);
* @return {MixedCollection} The new filtered collection
*/
filterBy : function(fn, scope){
+ Roo.log(fn);
var r = new Roo.util.MixedCollection();
+ Roo.log(r);
r.getKey = this.getKey;
+ Roo.log(r.getKey);
var k = this.keys, it = this.items;
+ Roo.log([k, it]);
for(var i = 0, len = it.length; i < len; i++){
if(fn.call(scope||this, it[i], k[i])){
r.add(k[i], it[i]);