Klaus Hartl schrieb:
I think you wanted to write this:

jQuery.fn.delay = function(time, callback) {
    var self = this;
    setTimeout(function() {
        callback.call(self);
    }, time);
};
Thanks Klaus. I shouldn't write code in my email client...
Nice! Where do useful micro plugins go?
Once upon a time there was a "util" folder in the plugins repository. But that didn't quite work out.

--
Jörn Zaefferer

http://bassistance.de

Reply via email to