Fix: IE10 bug - let, const -> var

This commit is contained in:
2018-11-20 13:31:38 +09:00
parent 370fba238d
commit f2669ed5ca
38 changed files with 107 additions and 107 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
function ContentProgress() {
let fontStyle = ContentProgress.DEFAULT_TEXT_FONT;
var fontStyle = ContentProgress.DEFAULT_TEXT_FONT;
fontStyle.align = "right";
fontStyle.boundsAlignH = "right";
+2 -2
View File
@@ -1,9 +1,9 @@
/////////////////////////////
// Main game
const CONTENT_ID = "Typing Practice";
var CONTENT_ID = "Typing Practice";
let game = new Phaser.Game(
var game = new Phaser.Game(
GAME_SCREEN_SIZE.x, GAME_SCREEN_SIZE.y,
Phaser.CANVAS, CONTENT_ID,
this, false, false
+1 -1
View File
@@ -122,7 +122,7 @@ var TypingTest = {
/*
countDown() {
const style = { font: "bold 200px Arial", fill: "#fff", boundsAlignH: "center", boundsAlignV: "middle" };
var style = { font: "bold 200px Arial", fill: "#fff", boundsAlignH: "center", boundsAlignV: "middle" };
this.countDownText = game.add.text(0, 0, "", style);
this.countDownText.setTextBounds(0, 0, game.world.width, game.world.height);
this.countDownText.stroke = "#333";
+2 -2
View File
@@ -1,9 +1,9 @@
/////////////////////////////
// Main game
const CONTENT_ID = "Typing Test";
var CONTENT_ID = "Typing Test";
let game = new Phaser.Game(
var game = new Phaser.Game(
GAME_SCREEN_SIZE.x, GAME_SCREEN_SIZE.y,
Phaser.CANVAS, CONTENT_ID,
this, false, false
+2 -2
View File
@@ -1,9 +1,9 @@
/////////////////////////////
// Main game
const CONTENT_ID = "WhacAMole";
var CONTENT_ID = "WhacAMole";
let game = new Phaser.Game(
var game = new Phaser.Game(
GAME_SCREEN_SIZE.x, GAME_SCREEN_SIZE.y,
Phaser.CANVAS, CONTENT_ID,
this, false, false