0.0.2 • Published 9 years ago

ember-instance-scope v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

Ember-instance-scope

Contains a mixin that allows definition of instance specific properties within extend (which adds to the prototype by default) through a custom instanceScope property

Useful for properties that wouldnt be passed to the component instances in the template directly but may still need to be instance specific.

This can be done currently by setting these properties up in the init method but this provides a more declarative approach.

Usage

Quick demo at http://development.instance-scope-demo.divshot.io/

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

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