diff --git a/gl.js b/gl.js index d03aa64..006d835 100644 --- a/gl.js +++ b/gl.js @@ -1,5 +1,5 @@ +'use strict'; var CreateShader = function(gl, vsSource, fsSource) { - 'use strict'; if (typeof WebGLRenderingContext !== 'function' || !(gl instanceof WebGLRenderingContext)) { throw new Error('CreateShader: no WebGL context'); diff --git a/index.html b/index.html index 36542f7..dae2ad4 100644 --- a/index.html +++ b/index.html @@ -3,12 +3,10 @@