From 46bd7e71f5ecf6378f7241d1002e345893b270fd Mon Sep 17 00:00:00 2001 From: archmoj Date: Wed, 27 May 2020 13:11:34 -0400 Subject: [PATCH] remove let keyword from lib/shader.js to continue with es5 --- lib/shader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shader.js b/lib/shader.js index 6f6ddf95..22353888 100644 --- a/lib/shader.js +++ b/lib/shader.js @@ -84,7 +84,7 @@ module.exports = function wrapShaderState (gl, stringStore, stats, config) { gl.attachShader(program, fragShader) gl.attachShader(program, vertShader) if (attributeLocations) { - for (let i = 0; i < attributeLocations.length; ++i) { + for (i = 0; i < attributeLocations.length; ++i) { var binding = attributeLocations[i] gl.bindAttribLocation(program, binding[0], binding[1]) }