Minor cleanup

This commit is contained in:
Paul Graffam 2016-10-07 04:40:29 -04:00
parent a2f26b057b
commit f2087cab2d
2 changed files with 1 additions and 3 deletions

View File

@ -9,7 +9,7 @@ export default {
try { try {
var canvas = document.createElement('canvas'); 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) { } catch(e) {
return false; return false;
} }

View File

@ -4,8 +4,6 @@ const ALIAS = {
'right' : 39, 'right' : 39,
'down' : 40, 'down' : 40,
'space' : 32, 'space' : 32,
'pageup' : 33,
'pagedown': 34,
'tab' : 9, 'tab' : 9,
'escape' : 27 'escape' : 27
}; };