jquery-boilerplate / jquery-patterns

A variety of jQuery plugin patterns for jump starting your plugin development
1.59k stars 242 forks source link

pluginName #2

Closed aariacarterweir closed 13 years ago

aariacarterweir commented 13 years ago

adding pluginName as a variable. The Plugin constructor also gets _defaults and _name references.

addyosmani commented 13 years ago

Agree with the changes. I'll merge shortly.Thanks!

aariacarterweir commented 13 years ago

Np. I like this idea very much. It's almost worth making a little mini-framework here to dispense ready plugin and widget objects that can be extended. If you get a chance, take a look at how I do it in xa.js and let me know what you think.