diff --git a/src/game-lib-system-input.js b/src/game-lib-system-input.js index 6b30be7..a9f9515 100644 --- a/src/game-lib-system-input.js +++ b/src/game-lib-system-input.js @@ -627,7 +627,7 @@ GameLib.System.Input.prototype.onKeyboardKeyUp = function(event) { GameLib.Event.Emit( GameLib.Event.KEY_DOWN, { - code : event.code + code : event.code || event.key } ); @@ -637,7 +637,7 @@ GameLib.System.Input.prototype.onKeyboardKeyDown = function(event) { GameLib.Event.Emit( GameLib.Event.KEY_UP, { - code : event.code + code : event.code || event.key } ); @@ -837,7 +837,7 @@ GameLib.System.Input.prototype.onKeyDown = function(event) { GameLib.Event.Emit( GameLib.Event.KEY_DOWN, { - code : event.code + code : event.code || event.key } ); diff --git a/src/game-lib-system-storage.js b/src/game-lib-system-storage.js index a5fde24..a36528d 100644 --- a/src/game-lib-system-storage.js +++ b/src/game-lib-system-storage.js @@ -858,7 +858,8 @@ GameLib.System.Storage.prototype.loadImage = function(data, callback, errorCallb window.URL = window.URL || window.webkitURL; - //console.log(image.name + ' - response type : ' + this.response.type); + // + // console.log(image.name + ' - response type : ' + this.response.type); var url;