diff options
author | Jonathan Duran | 2012-02-27 11:22:51 -0800 |
---|---|---|
committer | Jonathan Duran | 2012-02-27 11:22:51 -0800 |
commit | ab10898c78f2bd5d765d9c915848ed8c8e08c5a3 (patch) | |
tree | b1ebb87e9c101c558108e1cec043d64a03cc50a1 /js/io/system | |
parent | fb8aacbadba8dffb9619eb16e4626c197dc9264d (diff) | |
parent | da60be29baab67440535b6b2b71fe7de989dfed0 (diff) | |
download | ninja-ab10898c78f2bd5d765d9c915848ed8c8e08c5a3.tar.gz |
Merge branch 'refs/heads/integration-candidate' into Timeline
Diffstat (limited to 'js/io/system')
-rwxr-xr-x | js/io/system/coreioapi.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/io/system/coreioapi.js b/js/io/system/coreioapi.js index 2051da43..f428a229 100755 --- a/js/io/system/coreioapi.js +++ b/js/io/system/coreioapi.js | |||
@@ -28,9 +28,9 @@ exports.CoreIoApi = Montage.create(Component, { | |||
28 | value: function () { | 28 | value: function () { |
29 | //////////////////////////////////////////////////////////// | 29 | //////////////////////////////////////////////////////////// |
30 | //Checking for local storage of URL for IO | 30 | //Checking for local storage of URL for IO |
31 | if (window.localStorage['ioRootUrl']) { | 31 | if (this.application.localStorage.getItem("ioRootUrl")) { |
32 | //Getting URL from local storage | 32 | //Getting URL from local storage |
33 | this.rootUrl = window.localStorage['ioRootUrl']; | 33 | this.rootUrl = this.application.localStorage.getItem("ioRootUrl"); |
34 | //Checks for IO API to be active | 34 | //Checks for IO API to be active |
35 | this.ioServiceDetected = this.cloudAvailable(); | 35 | this.ioServiceDetected = this.cloudAvailable(); |
36 | } else { | 36 | } else { |
@@ -156,7 +156,7 @@ exports.CoreIoApi = Montage.create(Component, { | |||
156 | return this._rootUrl; | 156 | return this._rootUrl; |
157 | }, | 157 | }, |
158 | set: function(value) { | 158 | set: function(value) { |
159 | this._rootUrl = window.localStorage["ioRootUrl"] = value; | 159 | this._rootUrl = this.application.localStorage.setItem("ioRootUrl", value); |
160 | } | 160 | } |
161 | }, | 161 | }, |
162 | //////////////////////////////////////////////////////////////////// | 162 | //////////////////////////////////////////////////////////////////// |