zuul
Version:
simple browser testing
29 lines (23 loc) • 659 B
HTML
<head>
<title>{{title}}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="/__zuul/zuul.css">
</head>
<body>
<div id="zuul"></div>
{{{user_html}}}
<script>{{{state}}}</script>
{{#each user_scripts}}
<script src="{{this}}"></script>
{{/each}}
<script>
var ZUUL = {};
{{!-- Only add the support server port if it exists. Not using JSON.parse for backwards compatibility. --}}
{{#if config.port}}
ZUUL.port = {{config.port}};
{{/if}}
</script>
<script src="/__zuul/framework.js"></script>
<script src="/__zuul/client.js"></script>
</body>