Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cibernox/ember-proxy-controllers
Ember.ObjectController and Ember.ArrayController extracted as an standalone addon
https://github.com/cibernox/ember-proxy-controllers
Last synced: 17 days ago
JSON representation
Ember.ObjectController and Ember.ArrayController extracted as an standalone addon
- Host: GitHub
- URL: https://github.com/cibernox/ember-proxy-controllers
- Owner: cibernox
- License: mit
- Created: 2015-06-20T12:23:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-29T18:50:35.000Z (over 9 years ago)
- Last Synced: 2024-11-29T20:51:16.489Z (about 1 month ago)
- Language: JavaScript
- Size: 160 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Ember-proxy-controllers
Ember.ObjectController and Ember.ArrayController extracted as an standalone addon.
## Installation
Run `ember install ember-proxy-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````js
// app/controllers/posts.js
import ArrayController from 'ember-proxy-controllers/array'export default ArrayController.extend({
// ...
})
``````js
// app/controllers/post.js
import ObjectController from 'ember-proxy-controllers/object'export default ObjectController.extend({
// ...
})
```