diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-23 18:36:32 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-23 19:06:55 -0700 |
commit | 50ee300ffabb6c5e5c6a2d4b4762343822ea1dc2 (patch) | |
tree | cecf230c59b70e5ab63e6d3963bcdbaeb742ba6e /tests | |
parent | 6d125fcc3e6ca573a337b7a5a0897cdc0a638f3c (diff) |
write out html and side js when html output is requested, to improve page load times
Diffstat (limited to 'tests')
-rw-r--r-- | tests/embind/shell.html | 2 | ||||
-rw-r--r-- | tests/hello_world_gles_shell.html | 2 | ||||
-rw-r--r-- | tests/sdl_canvas_size.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/embind/shell.html b/tests/embind/shell.html index c3655e03..f0ee10f8 100644 --- a/tests/embind/shell.html +++ b/tests/embind/shell.html @@ -85,6 +85,6 @@ }; Module.setStatus('Downloading...'); </script> - <script type='text/javascript'>{{{ SCRIPT_CODE }}}</script> + {{{ SCRIPT }}} </body> </html> diff --git a/tests/hello_world_gles_shell.html b/tests/hello_world_gles_shell.html index 2459d755..22ecee7b 100644 --- a/tests/hello_world_gles_shell.html +++ b/tests/hello_world_gles_shell.html @@ -49,7 +49,7 @@ Module.postRun = doTest; </script> - <script>{{{ SCRIPT_CODE }}}</script> + {{{ SCRIPT }}} </body> </html> diff --git a/tests/sdl_canvas_size.html b/tests/sdl_canvas_size.html index 5c70210b..50495049 100644 --- a/tests/sdl_canvas_size.html +++ b/tests/sdl_canvas_size.html @@ -88,6 +88,6 @@ }; Module.setStatus('Downloading...'); </script> - <script async type='text/javascript'>{{{ SCRIPT_CODE }}}</script> + {{{ SCRIPT }}} </body> </html> |