From 372db241e9e33f5e834ee84a030fcfab57832a83 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 1 Jan 2017 11:19:32 +0900 Subject: [PATCH] Clean up --- src/web/app/boot.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/web/app/boot.js b/src/web/app/boot.js index 9d6687f9e..348787726 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(() => {