4 strategies for passing parameters to RequireJS modules

by Nils Georg Skutle

RequireJS is a great library for managing JavaScript files, modules and the dependencies between them. This post requires (pun intended) some knowledge of the framework. If this is all new to you, point your browser to requirejs.org to find out what all the fuzz is about. Introduction Recently I…