News for hackers. Stuff that matters.
Re:Require.js Library Skeleton by ricardobeat on Wednesday November 06, 2013 @10:13AM (#6683063)
The main file is exporting a global variable (window.mylib) directly, when it should assume require.js is present and export itself as a module. Only when creating a stand-alone/static build for non-requirejs environments it should export a global. CommonJS support could be added too.

There are no comments on this comment yet.