garand / sticky

jQuery Plugin for Sticky Objects
Other
3.3k stars 1.06k forks source link

Add UMD wrapper #170

Closed SimenB closed 9 years ago

SimenB commented 9 years ago

UMD wrapper allows it to require the jquery dep from a module system if it exists. Taken from here https://github.com/umdjs/umd/blob/master/jqueryPluginCommonjs.js

stevenpetryk commented 9 years ago

Would be incredibly useful :+1:

SimenB commented 9 years ago

Just npm publish, then, and I'll be happy :+1:

garand commented 9 years ago

Done.

SimenB commented 9 years ago

Awesome, thanks!