From f92c393b04717d7ece1ffed01226fd327de7973a Mon Sep 17 00:00:00 2001 From: Igor Null Date: Sun, 30 Aug 2015 10:13:34 +0000 Subject: [PATCH] moved use strict to upper level and removed unnecessary includes --- gl.js | 2 +- index.html | 12 +++--------- 2 files changed, 4 insertions(+), 10 deletions(-) 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 @@ woscilloscope - -