For each desired package, place the below file into your patches/
directory, and enable https://github.com/ds300/patch-package via postinstall
hook.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
I hereby claim:
- I am davidgovea on github.
- I am davidgovea (https://keybase.io/davidgovea) on keybase.
- I have a public key ASBAg6bbjTRhDtSOaF-TcEneHu5UHF9bLZywFfFggV-XTQo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle', | |
doFakeStuff: function() { | |
var server = sinon.fakeServer.create(); | |
server.respondWith("GET", "/myModels", | |
[200, { "Content-Type": "application/json" }, | |
JSON.stringify(this.get('fakeData'))]); |