Sha256: 4b26c4e57458c41bf1dbabf11936a09370122c814eb028d142484e9ec348b363

Contents?: true

Size: 689 Bytes

Versions: 3

Compression:

Stored size: 689 Bytes

Contents

<% config = Rails.application.config.ember %>
import Resolver from 'resolver';

if (typeof Turbolinks !== 'undefined') {
  throw new Error("Turbolinks has been detected. Ember Appkit Rails will not function properly alongside Turbolinks.");
}

<% unless config.enable_logging %>
  Ember.LOG_VERSION = false;
<% end %>

var App = Ember.Application.extend({

<% if config.enable_logging %>
  LOG_ACTIVE_GENERATION: true,
  LOG_MODULE_RESOLVER: true,
  LOG_TRANSITIONS: true,
  LOG_TRANSITIONS_INTERNAL: true,
  LOG_VIEW_LOOKUPS: true,
<% end %>

  modulePrefix: '<%= config.namespaces.app %>',
  configPrefix: '<%= config.namespaces.config %>',
  Resolver: Resolver
});

export default App;

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ember-appkit-rails-0.3.2 vendor/assets/javascripts/app.js.es6.erb
ember-appkit-rails-0.3.1 vendor/assets/javascripts/app.js.es6.erb
ember-appkit-rails-0.3.0 vendor/assets/javascripts/app.js.es6.erb