-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
41 lines (40 loc) · 1.46 KB
/
Copy pathindex.html
File metadata and controls
41 lines (40 loc) · 1.46 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html lang="en">
<head>
<title>Ream</title>
<meta charset="utf-8">
<script type="text/javascript">
document.write('<base href="file://' + __dirname.replace(/\\/g, '/') + '/index.html">'); // wee
</script>
<script>
// angular2 messed with these symbols, so save them before anything
// http://electron.atom.io/docs/v0.37.2/faq/electron-faq/
window.electronRequire = require;
delete window.require;
delete window.exports;
delete window.module;
window.IS_LINUX = !process.env.PATHEXT;
window.IS_WINDOWS = !window.IS_LINUX;
window.MODE = 'DEVELOPMENT';
window.Assert = function Assert(cond, msg) {
if (!cond) {
throw (msg ? msg : 'assert failed');
}
}
</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="bundle.css">
</head>
<body>
<rm-app>
<h2 class="loading-msg">Loading</h2>
</rm-app>
<script src="node_modules/zone.js/dist/zone.js"></script>
<script src="node_modules/reflect-metadata/Reflect.js"></script>
<script src="node_modules/systemjs/dist/system.src.js"></script>
<script src="systemjs.config.js"></script>
<script>
System.import('app').catch(function(err){ console.error(err); });
</script>
</body>
</html>