Skip to content

dbashford/mimosa-ember-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    }
  }
}

About

Wrap ember in EmberENV declaration whenever it is encountered

Resources

Stars

Watchers

Forks

Packages

No packages published