Wrap ember in EmberENV declaration whenever it is encountered
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.npmignore
README.md
mimosa-config.js
package.json

README.md

mimosa-ember-env

Overview

This module will wrap instances of the ember.js library in a function within which EmberENV will be declared. This saves you from needing to possibly duplicate EmberENV declarations between dev/test environments.

For more information regarding Mimosa, see http://mimosa.io.

Usage

Add 'ember-env' to your list of modules. Mimosa will install the module for you when you start up.

Functionality

This adjusts your ember.js, tweaking it so var EmberENV is included prior to Ember being evaluated.

Default Config

emberEnv: {
  env:{}
}

Example Config

emberEnv: {
  env:{
    FEATURES: {
      'ember-htmlbars': true,
      'ember-htmlbars-block-params': true
    }
  }
}