1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Index: /Users/jan/webdev/moodev/mootools/trunk/Class/Class.Extras.js
===================================================================
@@ -37,10 +37,11 @@
Arguments:
fn - (function) The function to append to the call stack.
*/
+
+ $chains: [],
chain: function(fn){
- this.chains = this.chains || [];
- this.chains.push(fn);
+ this.$chains.push(fn);
return this;
},
|