George schrieb:
Hi Jörn, this technique seems like a good idea though I'm not sure I
follow what you did in the metadata plugin. Would you be able provide
an example here of how you would overload the trim function in the
same way as the earlier posting?
Sure thing.

(function($) {
        var trim = $.trim;
        $.trim = function() {
                return trim.apply(this, arguments).replace("\$", "jQuery");
        };
})(jQuery);

--
Jörn Zaefferer

http://bassistance.de

Reply via email to