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
{ | |
"nixEnvSelector.suggestion": false, | |
"nixEnvSelector.nixFile": "${workspaceRoot}/shell.nix", | |
"terminal.integrated.profiles.linux": { | |
"Nix Shell": { | |
"path": "nix-shell", | |
"icon": "terminal-linux", | |
"color": "terminal.ansiCyan" // give it some color as a reminder this is nix | |
}, | |
}, |
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 DS from "ember-data"; | |
export default DS.RESTAdapter.extend({ | |
//namespace: 'api', | |
host: 'https://jsonplaceholder.typicode.com', | |
//coalesceFindRequests: true | |
handleResponse: function handleResponse(status, headers, payload, requestData) { | |
let result = this._super(...arguments); | |
result = {album: result} | |
return result; |
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.Component.extend({ | |
updateCount: 0, | |
didUpdateAttrs() { | |
this._super(...arguments) | |
console.log("didUpdateAttrs", this.updateCount) | |
this.updateCount++; | |
} | |
}); |