summaryrefslogtreecommitdiff
path: root/dingus.html
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2015-01-11 14:50:12 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2015-01-11 14:50:12 -0800
commit11a7287be0f5040f4cff4415466d04604b7b5015 (patch)
treebbb74f6341c425bba9ab4c432baae89169a83c3e /dingus.html
parent3c35be821183a4f38bfd4d2feea4a8a215559b1d (diff)
Removed JS library's dependency on util.
This reduces js/commonmark.js size by 20K.
Diffstat (limited to 'dingus.html')
-rw-r--r--dingus.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/dingus.html b/dingus.html
index ee1622f..b0b6b32 100644
--- a/dingus.html
+++ b/dingus.html
@@ -10,7 +10,6 @@
<script type="text/javascript">
var writer = new commonmark.HtmlRenderer();
-var astwriter = new commonmark.ASTRenderer();
var reader = new commonmark.DocParser();
function getQueryVariable(variable) {
@@ -58,7 +57,7 @@ $(document).ready(function() {
var renderTime = endTime - startTime;
$("#preview").html(result);
$("#html").text(result);
- $("#ast").text(astwriter.render(parsed));
+ $("#ast").text("UNDER CONSTRUCTION"); // TODO - replace with xml
$("#rendertime").text(renderTime);
};
var parseAndRender = function() {