diff --git a/index.html b/index.html
index b8c5ce0..acd5f0c 100644
--- a/index.html
+++ b/index.html
@@ -3,22 +3,23 @@
特效查看及修改TOOL
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
-
+ var xhr = new XMLHttpRequest();
+ xhr.open('GET', './manifest.json?v=' + Math.random(), true);
+ xhr.addEventListener('load', function () {
+ var manifest = JSON.parse(xhr.response);
+ var list = manifest.initial.concat(manifest.game);
+ loadScript(list, function () {
+ /**
+ * {
+ * "renderMode":, //Engine rendering mode, "canvas" or "webgl"
+ * "audioType": 0 //Use the audio type, 0: default, 2: web audio, 3: audio
+ * "antialias": //Whether the anti-aliasing is enabled in WebGL mode, true: on, false: off, defaults to false
+ * "calculateCanvasScaleFactor": //a function return canvas scale factor
+ * }
+ **/
+ egret.runEgret({
+ renderMode: 'webgl', audioType: 0, calculateCanvasScaleFactor: function (context) {
+ var backingStore = context.backingStorePixelRatio ||
+ context.webkitBackingStorePixelRatio ||
+ context.mozBackingStorePixelRatio ||
+ context.msBackingStorePixelRatio ||
+ context.oBackingStorePixelRatio ||
+ context.backingStorePixelRatio || 1;
+ return (window.devicePixelRatio || 1) / backingStore;
+ }
+ });
+ });
+ });
+ xhr.send(null);
+
-
-
-
-
+
+
+
-
-
- 动作 |
- 方向 |
- 帧 |
- 执行时间(单位:毫秒) |
- 事件 |
-
-
-
-
-
+
+
+ 动作 |
+ 方向 |
+ 帧 |
+ 执行时间(单位:毫秒) |
+ 事件 |
+
+
+
-
-
-
-
+ function accept() {
+ if (endEditing()) {
+ $('#dg').datagrid('acceptChanges');
+ }
+ }
-