-
-
Notifications
You must be signed in to change notification settings - Fork 111
Expand file tree
/
Copy pathbasic.html
More file actions
24 lines (24 loc) · 1.05 KB
/
basic.html
File metadata and controls
24 lines (24 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script>if(!Function.bind){
document.write('<script src="//cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"><' + '/script>');
document.write('<script src="//cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-sham.min.js"><' + '/script>');
}</script>
<script>document.write('<script src="../index.js?_=' + Math.random() + '"><' + '/script>')</script>
<script>
this.onload = function () {
'use strict';
var _templateObject = _taggedTemplateLiteral(['\n <div> ', ' </div>\n'], ['\n <div> ', ' </div>\n']);
function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
var text = 'I am OK';
try {
document.body.appendChild(hyperHTML.wire()(_templateObject, text));
} catch(e) { document.body.textContent = e.message }
};
</script>
</head>
<body></body>
</html>