aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-28 12:59:34 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-06-28 12:59:34 -0700
commit682741171c8e910b8e7357daf78b371741ac1ec6 (patch)
tree00ac96fbb30bc9fc65d7da11d196dcc3eee3225e
parent5453806baeae0109d3806aec26a57bb5970a19ff (diff)
fix browser tests with their own shells
-rw-r--r--tests/embind/shell.html6
-rw-r--r--tests/hello_world_gles_shell.html3
2 files changed, 2 insertions, 7 deletions
diff --git a/tests/embind/shell.html b/tests/embind/shell.html
index 6664ec78..c3655e03 100644
--- a/tests/embind/shell.html
+++ b/tests/embind/shell.html
@@ -85,10 +85,6 @@
};
Module.setStatus('Downloading...');
</script>
- <script type='text/javascript'>
-
- {{{ SCRIPT_CODE }}}
-
- </script>
+ <script type='text/javascript'>{{{ SCRIPT_CODE }}}</script>
</body>
</html>
diff --git a/tests/hello_world_gles_shell.html b/tests/hello_world_gles_shell.html
index 4abee90c..2459d755 100644
--- a/tests/hello_world_gles_shell.html
+++ b/tests/hello_world_gles_shell.html
@@ -48,9 +48,8 @@
}
Module.postRun = doTest;
- // The compiled code
- {{{ SCRIPT_CODE }}}
</script>
+ <script>{{{ SCRIPT_CODE }}}</script>
</body>
</html>