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
/* | |
notifying the store that a record has been remotely deleted and should be fully removed. | |
*/ | |
function pushDeletion(store, type, id) { | |
let record = store.peekRecord(type, id); | |
if (record !== null) { | |
let relationships = {}; | |
let hasRelationships = false; | |
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' | |
}); |