Closed jamesarosen closed 12 years ago
Awesome - few nitpicks, but am keen to get this merged.
Also, just want to make sure you're aware, but there's an edge branch for the latest version of Sprockets: https://github.com/maccman/sprockets-commonjs/tree/edge
I'm happy to do this against the edge branch as well.
That would be awesome.
sprockets/engine
tosprockets/commonjs/engine
so it doesn't conflict with any other Sprockets EnginesSprockets::CommonJS.default_namespace=
so clients don't have to monkey-patch to change itSprockets::CommonJS#prepare
and#evaluate
protected, like they are forTilt::Template
(the parent class)Sprockets::CommonJS#namespace
privateSprockets::CommonJS#common_js_module?