1 /* todo: make a private(ish) provide() function to provide new requirements....*/
  2 /** @ignore */
  3 var Require = {};
  4 
  5 /**
  6  * Provides access to modules from Content Studio.
  7  * The <code>require()</code> is inspired from
  8  * <a href="http://wiki.commonjs.org/wiki/Modules">CommonJS Modules</a> to avoid
  9  * polluting the global namespace with additional variable names.
 10  * <p>Most, if not all proprietary functionality is hidden behind require() in order
 11  * to facilitate testing code and to extend the set of modules without breaking
 12  * existing scripts.
 13  * @function
 14  * @param {String} name The name of the API that needs to be accessed.
 15  * @example
 16  * var actions = require("content-studio");
 17  */
 18 var require = function(name) {
 19   return Require[name];
 20 };
 21