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
I know this is deader than jQuery by now, but it won't hurt to modernize this a little by adding support for commonjs environments and uploading an npm package, that way it can be used with bundlers like Webpack and included from CDNs like unpkg.
AFAIK other libraries do it by checking if module exists in the global scope then setting module.exports instead of extending window if it does.
We could also modify the deploy script to automatically increase the package version and publish to npm, thought that's not really needed given that there's literally no activity not much activity.
I'll see if i can do the necessary changes later this month, for now, have a seal
The text was updated successfully, but these errors were encountered:
I know this is deader than jQuery by now, but it won't hurt to modernize this a little by adding support for commonjs environments and uploading an npm package, that way it can be used with bundlers like Webpack and included from CDNs like unpkg.
AFAIK other libraries do it by checking if
module
exists in the global scope then settingmodule.exports
instead of extendingwindow
if it does.We could also modify the deploy script to automatically increase the package version and publish to npm, thought that's not really needed given that there's
literally no activitynot much activity.I'll see if i can do the necessary changes later this month, for now, have a seal
The text was updated successfully, but these errors were encountered: