aboutsummaryrefslogtreecommitdiffstats
path: root/perf
diff options
context:
space:
mode:
Diffstat (limited to 'perf')
-rw-r--r--perf/noangular.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/perf/noangular.html b/perf/noangular.html
new file mode 100644
index 00000000..8e0db311
--- /dev/null
+++ b/perf/noangular.html
@@ -0,0 +1,19 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html xmlns:ng="http://angularjs.org">
+ <head>
+ <script>
+ function el(id) {
+ return document.getElementById(id);
+ }
+ function update() {
+ el("output").innerHTML = el("input").value;
+ }
+ </script>
+ </head>
+ <body>
+ Your name: <input id="input" type="text" value="World"
+ onkeydown="setTimeout(update,0)"/>
+ <hr/>
+ Hello <span id="output">{{yourname}}</span>!
+ </body>
+</html> \ No newline at end of file