Repository navigation
Expand file tree
/
Copy pathapp-main.html
More file actions
43 lines (41 loc) · 2.1 KB
/
Copy pathapp-main.html
File metadata and controls
43 lines (41 loc) · 2.1 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
42
43
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>ARLEM JSON Validator - Main</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="node_modules/bootstrap/dist/css/bootstrap.css" rel="stylesheet" onerror="var e=document.createElement('link');e.rel='stylesheet';e.href='https://cdn.jsdelivr.net/npm/bootstrap@4/dist/css/bootstrap.css';document.head.appendChild(e)" />
<link href="node_modules/jsoneditor/dist/jsoneditor.css" rel="stylesheet" onerror="var e=document.createElement('link');e.rel='stylesheet';e.href='https://cdn.jsdelivr.net/npm/jsoneditor@9/dist/jsoneditor.css';document.head.appendChild(e)" />
</head>
<body class="my-3">
<!--<script src="https://cdn.jsdelivr.net/npm/requirejs@2/require.js"></script>-->
<div class="container-fluid">
<h1>
ARLEM JSON Validator <small class="text-muted">BETA</small>
</h1>
<div id="container">
<noscript>JavaScript needs to be enabled.</noscript>
<!--<script src="app-main.js"></script>-->
</div>
<footer class="my-3">
<a href="https://github.com/openARLEM/arlem.js">GitHub</a>
</footer>
</div>
<script>
window.xloadcount = 0;
window.xload = function() {
if (typeof xload === "undefined" || ++xloadcount !== 1) return;
delete window.xload;
delete window.xloadcount;
//BABEL_ENV_TARGETS = "defaults"; // no need to set; is the default
BABEL_ENV_TARGETS = { "chrome": "85", "firefox": "81", "safari": "14" }; // latest as of 2020-09-24
//BABEL_ENV_TARGETS = "> 0.25%, not dead"
APP_LAUNCH_DELAY = 100; // ms to wait before launch for more reliable breakpoints
var e = document.createElement("script");
e.src = "app-main.js";
document.querySelector("#container").appendChild(e);
}
</script>
<script src="node_modules/requirejs/require.js" onload="xload()" onerror="var e=document.createElement('script');e.src='https://cdn.jsdelivr.net/npm/requirejs@2/require.js';e.onload=xload;document.head.appendChild(e)"></script>
</body>
</html>