Created
June 3, 2012 14:27
-
-
Save joliss/2863733 to your computer and use it in GitHub Desktop.
Auto-switching between prod and dev Ember version. The JS files in the custom-ember directory are symlinks to ../../../ember.js/dist/ember.prod.js etc., where ember.js is a submodule.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% require_asset 'custom-ember/handlebars' %> | |
<% if Rails.env.production? %> | |
<% require_asset 'custom-ember/ember.prod' %> | |
<% require_asset 'custom-ember/ember-data.prod' %> | |
<% else %> | |
<% require_asset 'custom-ember/ember' %> | |
<% require_asset 'custom-ember/ember-data' %> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment