You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Share button should be easily consumable through both amd and commonjs, as both are already very common ways of managing js modules, and will only become more so in the future. UMD is probably a good way to handle this.
In addition, it should be easily able to be used through node or bower, meaning we'll need a couple adjustments to the package.json and a component.json added as well. We can use browserify to run this compile much like jade does here.
The text was updated successfully, but these errors were encountered:
To add some extra info here, the AMD build is the only piece that would benefit from any actual extra code, and would probably look to see if define is defined, and if so wrap in a define block that depends on jquery. The latest versions of jquery are now on npm and stable, so it might be worth considering adding jquery to the package.json as a dep, but jquery's integration with npm is very young, and I wonder if this would end up confusing people further. The bower piece should be simple -- very similar to npm, but it's built very specifically for client side: https://github.com/bower/bower#defining-a-package
Share button should be easily consumable through both amd and commonjs, as both are already very common ways of managing js modules, and will only become more so in the future. UMD is probably a good way to handle this.
In addition, it should be easily able to be used through node or bower, meaning we'll need a couple adjustments to the
package.json
and acomponent.json
added as well. We can use browserify to run this compile much like jade does here.The text was updated successfully, but these errors were encountered: