Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 21, 2020. It is now read-only.

emberjs/ember-legacy-controllers

Repository files navigation

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({
// ...
})

About

No description, website, or topics provided.

Resources

Readme

License

MIT license

Contributing

Contributing

Stars

Watchers

Forks

Sponsor this project

Packages

Contributors