-
Modular Javascript #3 – Revealing Module Pattern Javascript Tutorial
The revealing module pattern allows us to create private variables in a Javascript Module. Here’s a writeup on this pattern: http://addyosmani.com/resources/essentialjsdesignpatterns/book/#revealingmodulepatternjavascript Here’s the code for this video: Here’s video 1 in case you missed it: We write a revealing module pattern by starting with a self-executing anonymous function also known as an IIFE (immediately invoked…
-
JavaScript Modules & Build Tools
A brief tour of the ocean of tools around JavaScript Modules. Content at https://github.com/curran/screencasts/tree/gh-pages/jsModulesAndBuildTools Covers Browser Globals, Namespaces, UglifyJS, CommonJS, AMD, ES6, Browserify, Webpack, RequireJS, JSPM, Esperanto, Rollup, Gulp, Babel, Traceur, and Make. If you appreciate this work, please consider supporting me on Patreon https://www.patreon.com/user?u=2916242&ty=h Original source