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>
|
||||
<script>
|
||||
SmilesDrawer.parse('{{result[0]}}', function(tree) {
|
||||
smilesDrawer.draw(tree, "canvas-{{x}}", "dark", false);
|
||||
console.log(smilesDrawer.draw(tree, "canvas-{{x}}", "dark", false))
|
||||
smilesDrawer.draw(tree, "canvas-{{x}}", "light", false);
|
||||
console.log(smilesDrawer.draw(tree, "canvas-{{x}}", "light", false))
|
||||
});
|
||||
</script>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue