0.3.0 • Published 7 years ago

ember-lux v0.3.0

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

ember-lux Build Status

Easily integrate SpeedCurve LUX into your ember app.

Installation

$ npm install ember-lux

Setup

Be sure to call LUX.init() in your router's willTransition hook. For example:

willTransition (...args) {
  LUX.init()
  this._super(...args)
}

Note: you can explore the rest of LUX's API here

Configuration

The only config that is required is your LUX ID. You can set your config in config/environment.js

NameTypeDescriptionDefault
idintREQUIRED Your LUX ID found within Admin -> Teamsundefined
sampleRateintHow many users should be sampled?1
enabledBooleanSet to false to not inject the lux script into the page.true

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago