You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just need to warn the user on incompatible config. Example:
//Load the requirejs optimizervarrequirejs=require('/Users/whitley/.rvm/gems/ruby-1.9.3-p125@twr/gems/requirejs-rails-0.5.6/bin/r.js'),//Set up basic config, include config that is//common to all the optimize() calls.basConfig={"baseUrl": "/Users/whitley/src/twr/dashbuzz/tmp/assets","modules": [{"name": "application"},{"name": "charts"}],"paths": {"d3": "d3/d3","d3.time": "d3/d3.time"}};// Function used to mix in baseConfig to a new config targetfunctionmix(target){for(varpropinbasConfig){if(basConfig.hasOwnProperty(prop)){target[prop]=basConfig[prop];}}returntarget;}varmodule_specs=[{name: "application",out: '/Users/whitley/src/twr/dashbuzz/public/assets/application.js'},{name: "charts",out: '/Users/whitley/src/twr/dashbuzz/public/assets/charts.js'},];
The text was updated successfully, but these errors were encountered:
jwhitley
added a commit
to jwhitley/requirejs-rails
that referenced
this issue
Feb 23, 2012
Just need to warn the user on incompatible config. Example:
The text was updated successfully, but these errors were encountered: