mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
启动代码放到html页面中。
This commit is contained in:
parent
d5c12f679d
commit
fcaead85f5
@ -11,7 +11,6 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div></div>
|
||||
<script src="node_modules/three/build/three.js"></script>
|
||||
|
||||
<script src="third_party/system.min.js"></script>
|
||||
@ -92,7 +91,12 @@
|
||||
<script src="third_party/html2canvas.js"></script>
|
||||
<script src="third_party/three.html.js"></script>
|
||||
<script src="dist/ShadowEditor.js"></script>
|
||||
<script src="js/index.js"></script>
|
||||
<script>
|
||||
var app = null;
|
||||
window.onload = function () {
|
||||
app = new Shadow.Application();
|
||||
};
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@ -1,5 +0,0 @@
|
||||
var app = null;
|
||||
|
||||
window.onload = function () {
|
||||
app = new Shadow.Application();
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user