diff --git a/src/js/utils/detector.js b/src/js/utils/detector.js index 99a7ab8..3010808 100644 --- a/src/js/utils/detector.js +++ b/src/js/utils/detector.js @@ -9,7 +9,7 @@ export default { try { var canvas = document.createElement('canvas'); - return !!( window.WebGLRenderingContext && ( canvas.getContext('webgl') || canvas.getContext('experimental-webgl') ) ); + return !!(window.WebGLRenderingContext && (canvas.getContext('webgl') || canvas.getContext('experimental-webgl'))); } catch(e) { return false; } diff --git a/src/js/utils/keyboard.js b/src/js/utils/keyboard.js index 4e9533d..24c93b5 100644 --- a/src/js/utils/keyboard.js +++ b/src/js/utils/keyboard.js @@ -4,8 +4,6 @@ const ALIAS = { 'right' : 39, 'down' : 40, 'space' : 32, - 'pageup' : 33, - 'pagedown': 34, 'tab' : 9, 'escape' : 27 };