Add require method
This version adds a require
method as an alias for requireWithStubs
.
// before
bogus.requireWithStubs('some-requirejs-name', function(m){
// magic
});
// 0.3.6
bogus.require('some-requirejs-name', function(m){
// magic
});
It's entirely backwards compatible, requireWithStubs
will still work.