summary refs log tree commit diff stats
path: root/tests/js.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/js.html')
-rwxr-xr-xtests/js.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/js.html b/tests/js.html
new file mode 100755
index 000000000..81baef784
--- /dev/null
+++ b/tests/js.html
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!--  This has been written by hand. (c) 2010 Andreas Rumpf -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>Nimrod JavaScript Generator Test</title>
+<style type="text/css">
+span.DecNumber {color: blue}
+</style>
+<script src="nimcache/js.js" type="text/javascript"></script>
+</head>
+<body onload="OnLoad()">
+<form name="form1" action="js.html">
+  <input type="text" name="input1" size="10" />
+  <input type="button" value="Calculate square" onclick="OnButtonClick()" />
+</form>
+
+</body>
+</html>