Fix: () => { } -> function() { }

This commit is contained in:
2018-09-13 15:13:14 +09:00
parent dad83205cd
commit e8c7304dba
22 changed files with 108 additions and 101 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ class HistoryBoard {
this.dbConnectManager.requestPlayerHistory(
sessionStorageManager.maestroID,
date,
historyRecordManager => {
(function(historyRecordManager) {
if(historyRecordManager.count == 0) {
console.log("history board - no data");
return;
@@ -38,7 +38,7 @@ class HistoryBoard {
if(date == data.date)
this.todayBestRecord = data.bestRecord;
}
}
})
);
}
+1 -1
View File
@@ -20,7 +20,7 @@ class Result {
// top ui
let screenTopUI = new ScreenTopUI();
screenTopUI.makeBackButton( () => {
screenTopUI.makeBackButton( function() {
if(isTypingPracticeStage())
location.href = '../../web/client/menu_typing_practice.html';
else if(isTypingTestStage())