jsbin/views/runner.html
Remy Sharp bfac12e53d chore: es6 upgrade check in
Complete package upgrades for node 7 compat
2017-04-22 15:28:56 +01:00

38 lines
798 B
HTML

<!doctype html>
<meta charset=utf-8>
<title>JS Bin Runner</title>
<style type="text/css">
body {
margin: 0;
padding: 0;
background: transparent;
}
iframe {
border: none;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
height: 100%;
width: 100%;
}
</style>
<div id="sandbox-wrapper"></div>
<iframe src="/runner-wrapper"></iframe>
{{#if settings.is_production}}
<script>
if ('serviceWorker' in navigator && location.origin.indexOf('null') !== -1) {
navigator.serviceWorker.register('{{root}}/sw-runner.js', { scope: '/' });
}
</script>
<script src="{{static}}/js/prod/runner-{{settings.version}}.min.js"></script>
{{{analytics}}}
{{else}}
{{#scripts}}<script src="{{../static}}{{.}}"></script>
{{/scripts}}
{{/if}}