Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/calculator/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<title>Calculator!</title>
<script src="../../lib/nearley.js"></script>
<script src="grammar.js"></script>
<style type="text/css">
<style>
html, body {
margin: 0; padding: 0;
font-size: 14pt;
Expand Down Expand Up @@ -55,7 +55,7 @@
<body>
<div id="main">
<div class="vertically-centered">
<input id="input" autofocus type="text" placeholder="3+4*ln(e+pi^2)"></input><br/>
<input id="input" autofocus type="text" placeholder="3+4*ln(e+pi^2)"><br/>
<span id="help">Enter an expression and hit &lt;enter&gt;.</span><br/>
<span id="info">Made with <a href="http://github.com/Hardmath123/nearley">nearley</a>.</span>
</div>
Expand Down