index.html 800 B

1234567891011121314151617181920212223242526272829
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <title>CodeMirror 2: Test Suite</title>
  5. <link rel="stylesheet" href="../lib/codemirror.css">
  6. <script src="../lib/codemirror.js"></script>
  7. <link rel="stylesheet" href="../theme/default.css">
  8. <script src="../mode/javascript/javascript.js"></script>
  9. <style type="text/css">
  10. .ok {color: #0e0;}
  11. .failure {color: #e00;}
  12. .error {color: #c90;}
  13. </style>
  14. </head>
  15. <body>
  16. <h1>CodeMirror 2: Test Suite</h1>
  17. <p>A limited set of programmatic sanity tests for CodeMirror.</p>
  18. <pre id=output></pre>
  19. <div style="visibility: hidden" id=testground>
  20. <form><textarea id="code" name="code"></textarea><input type=submit value=ok name=submit></form>
  21. </div>
  22. <script src="test.js"></script>
  23. </body>
  24. </html>