We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35647e9 commit 211d878Copy full SHA for 211d878
lib/attribute.js
@@ -296,7 +296,7 @@ module.exports = function wrapAttributeState (
296
vao.primitive = primitives[options.primitive]
297
}
298
299
- check.optional(() => {
+ check.optional(function () {
300
var keys = Object.keys(options)
301
for (var i = 0; i < keys.length; ++i) {
302
check(VAO_OPTIONS.indexOf(keys[i]) >= 0, 'invalid option for vao: "' + keys[i] + '" valid options are ' + VAO_OPTIONS)
0 commit comments