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
+5 -5
View File
@@ -24,7 +24,7 @@ class Ranking {
// top ui
let screenTopUI = new ScreenTopUI();
screenTopUI.makeBackButton( () => {
screenTopUI.makeBackButton( function() {
location.href = '../../web/client/start.html';
});
screenTopUI.makeFullScreenButton();
@@ -151,12 +151,12 @@ class Ranking {
this.dbConnectManager.requestAppRanking(
sessionStorageManager.maestroID,
sessionStorageManager.playingAppID,
(jsonData) => {
(function(jsonData) {
self.showRanking(jsonData);
},
(jsonData) => {
}),
(function(jsonData) {
self.showRanking(null);
}
})
);
}