Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5d38e88

Browse filesBrowse files
committed
Add zero arg to TypedArray
1 parent de63951 commit 5d38e88
Copy full SHA for 5d38e88

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/traces/parcoords/lines.js

Copy file name to clipboardExpand all lines: src/traces/parcoords/lines.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ function setAttributes(attributes, sampleCount, points) {
176176
function emptyAttributes(regl) {
177177
var attributes = {};
178178
for(var i = 0; i < 16; i++) {
179-
attributes['p' + i.toString(16)] = regl.buffer({usage: 'dynamic', type: 'float', data: new Uint8Array()});
179+
attributes['p' + i.toString(16)] = regl.buffer({usage: 'dynamic', type: 'float', data: new Uint8Array(0)});
180180
}
181181
return attributes;
182182
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.