Minor cleanup
This commit is contained in:
parent
a2f26b057b
commit
f2087cab2d
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -4,8 +4,6 @@ const ALIAS = {
|
|||
'right' : 39,
|
||||
'down' : 40,
|
||||
'space' : 32,
|
||||
'pageup' : 33,
|
||||
'pagedown': 34,
|
||||
'tab' : 9,
|
||||
'escape' : 27
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue