Skip to content

Commit b758b79

Browse files
committed
nit change
1 parent 3236aab commit b758b79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/secrets.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// Setup the canvas
2+
var type = /(canvas|webgl)/.test(url.type) ? url.type : 'svg';
23
var two = new Two({
4+
type: Two.Types[type],
35
fullscreen: true,
46
autostart: true
57
}).appendTo(document.body);

0 commit comments

Comments
 (0)