Eliminating the Global Namespace

In a previous episode, Browserify failed because it was running asynchronously along with the rest of our build. We fix that problem, then finish the remaining Browserify integration work. We unbundle our tests from our production code, get require() working in our HTML, and eliminate the “wwp” global. With that, our migration to CommonJS Modules is complete.

comments powered by Disqus