lilprovider

A li'l provide/require shim

lilprovider

A li'l provide/require shim to share modules in the browser.

lilprovider adds provide and require methods to the current context.

create and provide your module:

(function () {
 
  var blender = {
    blendfunction () {}
  }
 
  provide('blender', blender);
 
}());

then somewhere else require and use your module:

(function () {
  
  var blender = require('blender');
  blender.blend();
 
}());

Copyright (c) 2012 August Hovland Licensed under the MIT license.