How to use the ember-buffered-proxy/proxy.extend function in ember-buffered-proxy

To help you get started, we’ve selected a few ember-buffered-proxy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github stefanpenner / ember-state-services / tests / dummy / app / states / todos.js View on Github external
import BufferedProxy from 'ember-buffered-proxy/proxy';

const TodosProxy = BufferedProxy.extend();

TodosProxy.reopenClass({
  initialState() {
    return {
      content: this.get('todo')
    };
  }
});

export default TodosProxy;
github NREL / api-umbrella / src / api-umbrella / admin-ui / app / components / apis / server-form.js View on Github external
bufferedModel: computed('model', function() {
    let owner = getOwner(this).ownerInjection();
    return BufferedProxy.extend(Server.validationClass).create(owner, { content: this.model });
  }),
github NREL / api-umbrella / src / api-umbrella / admin-ui / app / components / apis / sub-settings-form.js View on Github external
bufferedModel: computed('model', function() {
    let owner = getOwner(this).ownerInjection();
    return BufferedProxy.extend(SubSettings.validationClass).create(owner, { content: this.model });
  }),
github NREL / api-umbrella / src / api-umbrella / admin-ui / app / components / apis / url-match-form.js View on Github external
bufferedModel: computed('model', function() {
    let owner = getOwner(this).ownerInjection();
    return BufferedProxy.extend(UrlMatch.validationClass).create(owner, { content: this.model });
  }),
github NREL / api-umbrella / src / api-umbrella / admin-ui / app / components / apis / rewrite-form.js View on Github external
bufferedModel: computed('model', function() {
    let owner = getOwner(this).ownerInjection();
    return BufferedProxy.extend(Rewrite.validationClass).create(owner, { content: this.model });
  }),

ember-buffered-proxy

An Ember Object Proxy with change buffering

MIT
Latest version published 2 years ago

Package Health Score

53 / 100
Full package analysis