UNPKG

979 BHTMLView Raw
1<!DOCTYPE html>
2<html>
3 <head>
4 <style>
5body {
6 font-family: sans-serif;
7 text-align: center;
8}
9#readme {
10 display: inline-block;
11 text-align: left;
12 max-width: 60ex;
13}
14 </style>
15 </head>
16 <body>
17 <div id=readme></div>
18 <script src=https://unpkg.com/direape@0.2></script>
19 <script src=./reun.js></script>
20 <script>
21REUN_RUN_TESTS = true;
22reun.eval(`
23 var showdown = new (require('showdown@1.6.0')).Converter();
24 var xhr = new XMLHttpRequest();
25 xhr.onloadend = function() {
26 readme.innerHTML = showdown.makeHtml(xhr.responseText);
27 };
28 xhr.open('GET', './README.md'); xhr.send();
29 `,{uri:location.href});
30
31/*
32reun.run(`require('./error-not-exists.js');`);
33reun.run(function() {
34 console.log(Object.keys(require('lodash')));
35});
36*/
37 </script>
38 <script>document.write('<script src="//incoming.solsort.com/log.js?' + location.protocol + '//' + location.host + location.pathname + location.search + '"></s' + 'cript>');</script>
39 </body>
40</html>