Skip to content

Instantly share code, notes, and snippets.

@lloyd
Created December 5, 2010 18:05
Show Gist options
  • Save lloyd/729297 to your computer and use it in GitHub Desktop.
Save lloyd/729297 to your computer and use it in GitHub Desktop.
<html>
<head>
<title>Manifest Tests</title>
<script type="text/javascript" src="doctestjs/doctest.js"></script>
<link rel="stylesheet" type="text/css" href="doctestjs/doctest.css" />
</head>
<body>
<pre class="doctest">
$ writeln({ "this", "is", "a", "syntax", "error" });
true
</pre>
<div>
<button onclick="doctest()" type="button">Test all</button>
<pre id="doctestOutput"></pre>
</div>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment