mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-29 03:56:39 +00:00
Replace pegs parser with Esprima
It preserves comments and text positions, enabling us to do syntax highlighting. Hopefully.
This commit is contained in:
36
node_modules/esprima/test/index.html
generated
vendored
Normal file
36
node_modules/esprima/test/index.html
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Esprima: Unit Tests</title>
|
||||
<link rel="stylesheet" type="text/css" href="../assets/style.css"/>
|
||||
<script src="../esprima.js"></script>
|
||||
<script src="../assets/json2.js"></script>
|
||||
<script src="test.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
|
||||
<div class="topbar">
|
||||
<ul class="nav">
|
||||
<li><a href="../index.html">← Home</a></li>
|
||||
<li><a href="http://github.com/ariya/esprima">Code</a></li>
|
||||
<li><a href="http://wiki.esprima.org">Documentation</a></li>
|
||||
<li><a href="http://issues.esprima.org">Issues</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<h1>Unit Tests <small>ensures the correct implementation</small></h1>
|
||||
<p>Esprima version <span id="version"></span>.</p>
|
||||
<p id="status">Please wait...</p>
|
||||
<div id="report"></div>
|
||||
<div class="footer"><strong>Esprima</strong> is created by
|
||||
<a href="http://ariya.ofilabs.com/about" target="_blank">Ariya Hidayat</a>. Follow <a href="http://twitter.com/ariyahidayat">@ariyahidayat</a> on Twitter.
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
/*jslint browser: true */
|
||||
window.onload = window.runTests;
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user