But how to extend a sub method? // Extend sub method $.extend({
$.myPlugin = { myExtendedMethod: function(){ alert('Extended submethod called'); } } }); // Won't work: $.myPlugin.myExtendedMethod(); Thanks for any tipp!
But how to extend a sub method? // Extend sub method $.extend({
$.myPlugin = { myExtendedMethod: function(){ alert('Extended submethod called'); } } }); // Won't work: $.myPlugin.myExtendedMethod(); Thanks for any tipp!