Skip to content

Instantly share code, notes, and snippets.

@broerse
broerse / adapters.application.js
Created September 7, 2018 02:39 — forked from jlami/adapters.application.js
Ember-data promise proxy bug
import DS from 'ember-data';
import { Promise as EmberPromise } from 'rsvp';
export default DS.Adapter.extend({
deleteRecord() {
console.log('deleting', arguments);
return EmberPromise.resolve();
},
});
import DS from 'ember-data';
export default DS.JSONAPIAdapter.extend({
host: 'https://demo9777171.mockable.io'
});
@broerse
broerse / controllers.application.js
Last active August 13, 2017 15:30
markdown-editor
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
import DSFA from 'ember-data-fixture-adapter';
export default DSFA.extend({});
@broerse
broerse / chrome.md
Last active August 29, 2015 14:27 — forked from mantoni/chrome.md
Increase stack trace limit in Google Chrome

Command line args:

--js-flags="--stack-trace-limit 20"