diff options
Diffstat (limited to 'js/data/settings.js')
-rwxr-xr-x | js/data/settings.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/js/data/settings.js b/js/data/settings.js index ffea2075..6b1af3fc 100755 --- a/js/data/settings.js +++ b/js/data/settings.js | |||
@@ -10,10 +10,6 @@ var Montage = require("montage/core/core").Montage, | |||
10 | 10 | ||
11 | exports.Settings = Montage.create( Component, { | 11 | exports.Settings = Montage.create( Component, { |
12 | 12 | ||
13 | version: { | ||
14 | value: "11.1213" | ||
15 | }, | ||
16 | |||
17 | _settings: { | 13 | _settings: { |
18 | value: null | 14 | value: null |
19 | }, | 15 | }, |
@@ -54,18 +50,5 @@ exports.Settings = Montage.create( Component, { | |||
54 | return null; | 50 | return null; |
55 | } | 51 | } |
56 | } | 52 | } |
57 | }, | ||
58 | |||
59 | deserializedFromSerialization: { | ||
60 | value: function() { | ||
61 | |||
62 | if (LocalStorage.getItem("version") != this.version) { | ||
63 | this.settings = {} | ||
64 | LocalStorage.setItem("version",this.version); | ||
65 | } else { | ||
66 | this.settings = LocalStorage.getItem("settings"); | ||
67 | } | ||
68 | |||
69 | } | ||
70 | } | 53 | } |
71 | }); \ No newline at end of file | 54 | }); \ No newline at end of file |