ember-legacy-controllers

0.2.1 • Public • Published

Ember-legacy-controllers

Ember.ObjectController and Ember.ArrayController extracted as an standalone addon.

Installation

Run ember install ember-legacy-controllers and you're good to go

Usage

Import the classes from the addon and extend them as with the old Ember.ArrayController and Ember.ObjectController

// app/controllers/posts.js
import ArrayController from 'ember-legacy-controllers/array'
 
export default ArrayController.extend({
  // ...
})
// app/controllers/post.js
import ObjectController from 'ember-legacy-controllers/object'
 
export default ObjectController.extend({
  // ...
})

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.1
    1
  • 0.2.0
    0
  • 0.1.0
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i ember-legacy-controllers

Weekly Downloads

1

Version

0.2.1

License

MIT

Unpacked Size

32.4 kB

Total Files

18

Last publish

Collaborators

  • cibernox
  • mmun
  • rwjblue