{"action":"created","issue":{"url":"https://api.github.com/repos/funkensturm/ember-local-storage/issues/26","labels_url":"https://api.github.com/repos/funkensturm/ember-local-storage/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/funkensturm/ember-local-storage/issues/26/comments","events_url":"https://api.github.com/repos/funkensturm/ember-local-storage/issues/26/events","html_url":"https://github.com/funkensturm/ember-local-storage/issues/26","id":98897153,"number":26,"title":"Dynamic property in the initialContent object","user":{"login":"tonkonogov","id":608858,"avatar_url":"https://avatars.githubusercontent.com/u/608858?v=3","gravatar_id":"","url":"https://api.github.com/users/tonkonogov","html_url":"https://github.com/tonkonogov","followers_url":"https://api.github.com/users/tonkonogov/followers","following_url":"https://api.github.com/users/tonkonogov/following{/other_user}","gists_url":"https://api.github.com/users/tonkonogov/gists{/gist_id}","starred_url":"https://api.github.com/users/tonkonogov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonkonogov/subscriptions","organizations_url":"https://api.github.com/users/tonkonogov/orgs","repos_url":"https://api.github.com/users/tonkonogov/repos","events_url":"https://api.github.com/users/tonkonogov/events{/privacy}","received_events_url":"https://api.github.com/users/tonkonogov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-04T06:08:21Z","updated_at":"2015-08-04T06:35:21Z","closed_at":"2015-08-04T06:34:36Z","body":"Hi, I use a i18n package for ember and I specified the default value for locale in env.js file.\r\n\r\nNow I want to store the current language in localStorage, but I want to avoid copy-paste for the default value and keep it only in env.js. Something like this:\r\n\r\n    initialContent: {\r\n       locale: %default_value%\r\n    }\r\n\r\n I can't use `this.get('i18n.defaultLocale')` (a usual way) for that, since it's an array declaration and `this` cannot be used on high-level. `Ember.computed` works but it stores the whole Ember object.\r\n\r\nHow can I set a dynamic value in this case?"},"comment":{"url":"https://api.github.com/repos/funkensturm/ember-local-storage/issues/comments/127496391","html_url":"https://github.com/funkensturm/ember-local-storage/issues/26#issuecomment-127496391","issue_url":"https://api.github.com/repos/funkensturm/ember-local-storage/issues/26","id":127496391,"user":{"login":"fsmanuel","id":54812,"avatar_url":"https://avatars.githubusercontent.com/u/54812?v=3","gravatar_id":"","url":"https://api.github.com/users/fsmanuel","html_url":"https://github.com/fsmanuel","followers_url":"https://api.github.com/users/fsmanuel/followers","following_url":"https://api.github.com/users/fsmanuel/following{/other_user}","gists_url":"https://api.github.com/users/fsmanuel/gists{/gist_id}","starred_url":"https://api.github.com/users/fsmanuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsmanuel/subscriptions","organizations_url":"https://api.github.com/users/fsmanuel/orgs","repos_url":"https://api.github.com/users/fsmanuel/repos","events_url":"https://api.github.com/users/fsmanuel/events{/privacy}","received_events_url":"https://api.github.com/users/fsmanuel/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T06:35:21Z","updated_at":"2015-08-04T06:35:21Z","body":":+1: "}}