summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-01-01 11:19:32 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-01-01 11:19:32 +0900
commit372db241e9e33f5e834ee84a030fcfab57832a83 (patch)
treed4304e3ac99213d8c5983dc53c5df74de0098427 /src/web
parentClean up (diff)
downloadsharkey-372db241e9e33f5e834ee84a030fcfab57832a83.tar.gz
sharkey-372db241e9e33f5e834ee84a030fcfab57832a83.tar.bz2
sharkey-372db241e9e33f5e834ee84a030fcfab57832a83.zip
Clean up
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/boot.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/web/app/boot.js b/src/web/app/boot.js
index 9d6687f9e5..348787726b 100644
--- a/src/web/app/boot.js
+++ b/src/web/app/boot.js
@@ -142,8 +142,7 @@ function fetchme(token, silent, cb) {
}
function init() {
- var data, this$ = this;
- data = generateDefaultUserdata();
+ const data = generateDefaultUserdata();
api(token, 'i/appdata/set', {
data: JSON.stringify(data)
}).then(() => {