Use templates instead of replacing (#292)

* Use templates instead of replacing

* Use Renderer to avoid loading templates ourselves

---------

Co-authored-by: Thomas Phillips <thomas@teknique.com>
This commit is contained in:
Thomas Phillips
2023-11-20 01:55:01 +13:00
committed by GitHub
parent 0b0a9a6d6f
commit dff410d87a
4 changed files with 37 additions and 47 deletions

View File

@@ -75,7 +75,7 @@
}
</style>
<script>
var data = [/* INSERT DATA HERE */];
var data = [{{{data}}}];
function formatAsm(asm) {
var lines = asm.split('\n');