aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Settings.hx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/Settings.hx')
-rw-r--r--src/client/Settings.hx6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/client/Settings.hx b/src/client/Settings.hx
index 47d67fc..2090829 100644
--- a/src/client/Settings.hx
+++ b/src/client/Settings.hx
@@ -1,14 +1,13 @@
package client;
import haxe.Json;
-import js.html.Storage;
import js.Browser;
+import js.html.Storage;
private typedef Vers = {version:Int};
-private typedef Updater = (data:Any, version:Int)->Any;
+private typedef Updater = (data:Any, version:Int) -> Any;
class Settings {
-
static var defaults:Null<Vers>;
static var updater:Null<Updater>;
static var storage:Storage;
@@ -61,5 +60,4 @@ class Settings {
if (defaults == null) throw "reset: default data is null";
write(defaults);
}
-
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage