Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Modular JavaScript with CommonJS Compiler

Modular JavaScript with CommonJS Compiler

Introduction into a developing approach where you can keep your JavaScript modular without any performance loss

Dmitry Sheiko

April 07, 2014
Tweet

More Decks by Dmitry Sheiko

Other Decks in Technology

Transcript

  1. var bar = (function(){ // Functionality return exportObj; }()), foo

    = (function( bar ){ // Functionality }( bar ));