Skip to content

Instantly share code, notes, and snippets.

View oligriffiths's full-sized avatar

Oli Griffiths oligriffiths

View GitHub Profile
import Ember from 'ember';
import RSVP from 'rsvp';
//Make object proxy for promise
const ObjectPromiseProxy = Ember.ObjectProxy.extend(Ember.PromiseProxyMixin);
/**
* Returns a computed property that combines all dependent
* promises into an RSVP hash, which when resolves, calls