How can the javascript plugin architecture in raphael/jquery be done?
- by TimDog
I'm looking for a barebones javascript example that demonstrates how the javascript plugin architecture works with large javascript libraries (such as raphael or jquery). In either scenario, you build plugins by ensuring your custom plugin follows this pattern: jQuery.fn.pluginName -- so assume I have a library:
myLibrary = (function() {
//my…