We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3236aab commit b758b79Copy full SHA for b758b79
js/secrets.js
@@ -1,5 +1,7 @@
1
// Setup the canvas
2
+var type = /(canvas|webgl)/.test(url.type) ? url.type : 'svg';
3
var two = new Two({
4
+ type: Two.Types[type],
5
fullscreen: true,
6
autostart: true
7
}).appendTo(document.body);
0 commit comments