Rewriting .on methods for jQuery 1.6 -
i want build in plugin, written jquery 1.11 site, written on jquery 1.6. plugin has several methods goes like
document.on('touchstart mousedown ...', function(){...});
they should rewritten jquery 1.6. how should rewrite these methods? unfortunately not find info in api of jquery.
how along lines of:
jquery.fn.on = function() { alert('overriden'); };
Comments
Post a Comment