added light mode
This commit is contained in:
parent
7e9940d6c7
commit
b3da7f98f9
|
@ -33,8 +33,8 @@
|
||||||
<canvas id="canvas-{{x}}" width="500" height="500"></canvas>
|
<canvas id="canvas-{{x}}" width="500" height="500"></canvas>
|
||||||
<script>
|
<script>
|
||||||
SmilesDrawer.parse('{{result[0]}}', function(tree) {
|
SmilesDrawer.parse('{{result[0]}}', function(tree) {
|
||||||
smilesDrawer.draw(tree, "canvas-{{x}}", "dark", false);
|
smilesDrawer.draw(tree, "canvas-{{x}}", "light", false);
|
||||||
console.log(smilesDrawer.draw(tree, "canvas-{{x}}", "dark", false))
|
console.log(smilesDrawer.draw(tree, "canvas-{{x}}", "light", false))
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue