-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheditor.html
37 lines (36 loc) · 1.25 KB
/
editor.html
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
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>.:Moonening:.</title>
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8">
<script src="submodules/bang/mod.js" type="text/javascript" charset="utf-8"></script>
<link rel="shortcut icon" href="favicon.png" />
</head>
<body id="body">
<div id="bang"></div>
<script type="text/javascript" charset="utf-8">
mod.useTagInjection = true;
mod.expansions = {
bang : 'submodules/bang/src/',
moon : 'src/'
};
mod({
name : "Main",
dependencies : [
'moon::Editor/Level.js',
],
init : function initMain (LevelEditor) {
try {
var editor = new LevelEditor();
editor.init();
window.editor = editor;
mod.exportAll();
} catch (e) {
console.log(e,e.stack);
}
}
});
</script>
</body>
</html>