|
|
|
|
|
by lolc
3761 days ago
|
|
Looks nice! I was a little surprised at the last line in your code: window.jQuery.prototype.marginotes = window.$.prototype.marginotes = marginotes Last I checked (one minute ago) jQuery and $ refer to the same object. jQuery === $ unless somebody is using $ to refer to something else in which case thanks you just clobbered $'s prototype. You should follow the jQuery conventions https://learn.jquery.com/plugins/basic-plugin-creation/ |
|