Permalink
Browse files

Moving commonjs.js to assets

By moving commonjs.js to /lib/assets/, we don't need to append the path manually, and the .rb files don't get pre	compiled anymore
  • Loading branch information...
1 parent 0e00694 commit a26890fb825f2697954710f4011ab770523d4da4 Niels van Hoorn committed May 11, 2012
Showing with 0 additions and 1 deletion.
  1. 0 lib/{ → assets/javascripts}/sprockets/commonjs.js
  2. +0 −1 lib/sprockets/engine.rb
@@ -3,7 +3,6 @@ module Sprockets
class CommonJSEngine < Rails::Engine
initializer :setup_closure do |app|
app.assets.register_postprocessor 'application/javascript', CommonJS
- app.assets.append_path File.expand_path('../..', __FILE__)
end
end
end

0 comments on commit a26890f

Please sign in to comment.