Skip to content

Commit 211d878

Browse files
committed
es5 check
1 parent 35647e9 commit 211d878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/attribute.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ module.exports = function wrapAttributeState (
296296
vao.primitive = primitives[options.primitive]
297297
}
298298

299-
check.optional(() => {
299+
check.optional(function () {
300300
var keys = Object.keys(options)
301301
for (var i = 0; i < keys.length; ++i) {
302302
check(VAO_OPTIONS.indexOf(keys[i]) >= 0, 'invalid option for vao: "' + keys[i] + '" valid options are ' + VAO_OPTIONS)

0 commit comments

Comments
 (0)