summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/tests/console.html
diff options
context:
space:
mode:
authorwei <>2006-01-09 03:40:59 +0000
committerwei <>2006-01-09 03:40:59 +0000
commit9c9a2d731fea9679f65904a3a6b72dd78b4253a4 (patch)
tree1d81a12a7a79e74e98218d01c6278a81f0996f5d /framework/Web/Javascripts/tests/console.html
parent10420d2bcde1a7437b58175f417170b2d6d93e50 (diff)
Update library
Diffstat (limited to 'framework/Web/Javascripts/tests/console.html')
-rw-r--r--framework/Web/Javascripts/tests/console.html30
1 files changed, 0 insertions, 30 deletions
diff --git a/framework/Web/Javascripts/tests/console.html b/framework/Web/Javascripts/tests/console.html
deleted file mode 100644
index e6aed30f..00000000
--- a/framework/Web/Javascripts/tests/console.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
- "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
- <head>
- <title>Prototype Console</title>
- <script src="../dist/prototype.js" type="text/javascript"></script>
- <script type="text/javascript">
- function test() {
- var out = $('out');
- try {
- input = $F('input');
- out.innerHTML += input.escapeHTML() + '<br />';
- value = eval(input);
- out.innerHTML += '=> ' + value.toString().escapeHTML() + '<br />';
- } catch (e) {
- out.innerHTML += 'Error: ' + e.toString().escapeHTML() + '<br />';
- }
- $('input').value = '';
- }
- </script>
- </head>
- <body>
- <form onsubmit="test(); return false">
- <input type="text" size="60" id="input" />
- <input type="submit" value="Execute" />
- </form>
- <div id="test"></div>
- <div id="out"></div>
- </body>
-</html>