Closed millermedeiros closed 12 years ago
maybe it don't need to be as complex, just exposing all the methods in the global scope would be enough, like:
require(['../src/math'], function(math){
window.utils.math = math;
});
and adding a comment somewhere in all the doc pages that you can access the methods on the browser console inside a namespace of the same name as the module name.
sometimes I want to test the methods while outside an application, it would be great if docs had some sort or REPL like javascript sandbox console