public
Fork of sstephenson/prototype
Description: Prototype JavaScript framework
Homepage: http://prototypejs.org/
Clone URL: git://github.com/jdalton/prototype.git
Search Repo:
Avoid potential memory leaks in Firefox. [#12 state:resolved]
tobie (author)
Wed May 07 03:35:43 -0700 2008
commit  3c9ebd48aeb087bfdd324cbeb669cbb4af3d7424
tree    7db6655f38c0c0c4d4d18301e499f0c341e3aa99
parent  1204b07b0645390e5718be98d3c58b6f5e9b41cf
...
 
 
1
2
3
...
1
2
3
4
5
0
@@ -1,3 +1,5 @@
0
+* Avoid potential memory leaks in Firefox. (wpc, Tobie Langel) [#12 state:resolved]
0
+
0
 * More unit tests for Object.isHash. (Tobie Langel)
0
 
0
 * Allow Function#argumentNames to handle line breaks between arguments. (Geoff M. Granum, Tobie Langel) [#63 state:resolved]
...
194
195
196
 
 
 
 
 
197
198
199
...
209
210
211
212
213
214
215
216
...
194
195
196
197
198
199
200
201
202
203
204
...
214
215
216
 
 
217
218
219
0
@@ -194,6 +194,11 @@
0
     }, timeout);
0
   },
0
   
0
+ defer: function() {
0
+ var args = [0.01].concat($A(arguments));
0
+ return this.delay.apply(this, args);
0
+ },
0
+
0
   wrap: function(wrapper) {
0
     var __method = this;
0
     return function() {
0
@@ -209,8 +214,6 @@
0
     };
0
   }
0
 });
0
-
0
-Function.prototype.defer = Function.prototype.delay.curry(0.01);
0
 
0
 Date.prototype.toJSON = function() {
0
   return '"' + this.getUTCFullYear() + '-' +

Comments

    No one has commented yet.