Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
This paste will be private.
Index: /Users/jan/webdev/moodev/mootools/trunk/Native/Function.js =================================================================== --- /Users/jan/webdev/moodev/mootools/trunk/Native/Function.js (revision 802) +++ /Users/jan/webdev/moodev/mootools/trunk/Native/Function.js (working copy) @@ -51,14 +51,6 @@ create: function(options){ var self = this; - options = $merge({ - 'bind': self, - 'arguments': null, - 'delay': false, - 'periodical': false, - 'attempt': false, - 'event': false - }, options); return function(event){ var args = $splat(options.arguments) || arguments; if (options.event) args = [event || window.event].extend(args);
From the Design Piracy series on my blog: