Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Feb 18, 2021
1 parent 75cd925 commit 28c320e
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions dist/4.x/twgl-full.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/4.x/twgl-full.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/4.x/twgl-full.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/4.x/twgl-full.module.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @license twgl.js 4.19.0 Copyright (c) 2015, Gregg Tavares All Rights Reserved.
/* @license twgl.js 4.19.1 Copyright (c) 2015, Gregg Tavares All Rights Reserved.
Available via the MIT license.
see: http://github.com/greggman/twgl.js for details */
/*
Expand Down Expand Up @@ -4930,7 +4930,7 @@ const glEnumToString = (function() {

return function glEnumToString(gl, value) {
addEnums(gl);
return enums[value] || ("0x" + value.toString(16));
return enums[value] || (typeof value === 'number' ? `0x${value.toString(16)}` : value);
};
}());

Expand Down
4 changes: 2 additions & 2 deletions dist/4.x/twgl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/4.x/twgl.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/4.x/twgl.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions npm/base/dist/4.x/twgl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion npm/base/dist/4.x/twgl.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion npm/base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "twgl-base.js",
"version": "4.19.0",
"version": "4.19.1",
"description": "A Tiny WebGL helper library",
"main": "dist/4.x/twgl.js",
"types": "dist/4.x/twgl-full.d.ts",
Expand Down

0 comments on commit 28c320e

Please sign in to comment.