Ember-buffered-proxy
This README outlines the details of collaborating on this Ember addon.
Usage
npm install --save-dev ember-buffered-proxy
import BufferedProxy from 'ember-buffered-proxy/proxy';
var content = {
firstName: 'stefan'
};
var buffer = BufferedProxy.create({
content: content
});
buffer.get('firstName');
buffer.set('firstName', 'Kris');
buffer.get('firstName');
buffer.set('firstName.content', 'Stefan');
Or you can grab the mixin directly
import BufferedMixin from 'ember-buffered-proxy/mixin';
var content = {
firstName: 'stefan'
};
var buffer = ObjectProxy.extend(BufferedMixin).create({
content: content
});
Installation
git clone
this repository
npm install
bower install
Running
Running Tests
ember test
ember test --server
Building
For more information on using ember-cli, visit http://www.ember-cli.com/.