A timeline of the last four years of detecting good old window.localStorage
.
October 2009: 5059daa
A timeline of the last four years of detecting good old window.localStorage
.
October 2009: 5059daa
// (Rename to current-user.js and place in /initializers) | |
// Ember now complains that you can't type inject a controller into a controller | |
// so use an Ember.ObjectProxy for currentUser instead. | |
// | |
// Ember.ObjectProxy allows you to set a content value, and will delegate | |
// all getters and setters to its content. | |
import DS from "ember-data"; | |
import CurrentUser from "../models/current-user"; |