Index: trunk/parsers/wikidom/demos/renderers/index.html |
— | — | @@ -57,7 +57,7 @@ |
58 | 58 | <h2>JSON Source</h2> |
59 | 59 | <div id="json-source" class="source"></div> |
60 | 60 | <script src="../../lib/jquery.js"></script> |
61 | | - <script src="../../lib/jquery.json.js"></script> |
| 61 | + <script src="../../lib/FormatJSON.js"></script> |
62 | 62 | <script src="../../lib/wiki.js" type="text/javascript"></script> |
63 | 63 | <script src="../../lib/wiki.util.js" type="text/javascript"></script> |
64 | 64 | <script src="../../lib/wiki.AnnotationRenderer.js" type="text/javascript"></script> |
— | — | @@ -76,7 +76,7 @@ |
77 | 77 | var wikitext = wikitextRenderer.render( data ); |
78 | 78 | $( '#wikitext-source' ).text( wikitext ); |
79 | 79 | // JSON |
80 | | - var json = $.toJSON( data ); |
| 80 | + var json = FormatJSON( data ); |
81 | 81 | $( '#json-source' ).text( json ); |
82 | 82 | } ); |
83 | 83 | } ); |