Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
Fix generated config for r.js change.
Browse files Browse the repository at this point in the history
This is a workaround for an incompatibility in the generated config
introduced in r.js 1.0.7.  See requirejs/r.js#115 for details.
  • Loading branch information
jwhitley committed Feb 23, 2012
1 parent 710497c commit 55209f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/requirejs/rails/rjs_driver.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
var requirejs = require('<%= rjs_path %>'),
//Set up basic config, include config that is
//common to all the optimize() calls.
basConfig = <%= JSON.pretty_generate(build_config) %>;
basConfig = <%= JSON.pretty_generate(build_config.reject {|k,v| k == 'modules'}) %>;

// Function used to mix in baseConfig to a new config target
function mix(target) {
Expand Down

0 comments on commit 55209f3

Please sign in to comment.