浏览代码

remove wait

Nikolay Suslov 5 年之前
父节点
当前提交
67daf8bb19
共有 3 个文件被更改,包括 7 次插入7 次删除
  1. 1 1
      public/app.js
  2. 5 5
      public/vwf.js
  3. 1 1
      public/vwf/model/aframe.js

+ 1 - 1
public/app.js

@@ -1454,7 +1454,7 @@ class App {
         _LCSDB.user().get('documents').get(root).get(docInfoName).get('modified').put(modified);
 
       }
-    }, {wait: 200});
+    });
 
 
     // Save Config Information

+ 5 - 5
public/vwf.js

@@ -621,7 +621,7 @@ Copyright (c) 2014-2018 Nikolai Suslov and the Krestianstvo.org project contribu
 
                   
 
-            },{wait: 200})
+            })
 
 
             
@@ -4907,7 +4907,7 @@ if ( ! childComponent.source ) {
                        //console.log(r);
                        parseComp(r);
 
-                   },{wait:200});
+                   });
 
                 } else {
                     let worldName = dbName.split('/')[0];
@@ -4917,7 +4917,7 @@ if ( ! childComponent.source ) {
                     //console.log(r);
                     parseComp(r);
 
-                },{wait:200});
+                });
                 }
 
                 //console.log(source);
@@ -4983,7 +4983,7 @@ if ( ! childComponent.source ) {
                     window._LCS_SYS_USER.get('proxy').get(fileName).get('file').load(function(r){
                         //console.log(r);
                         parseComp(r);
-                    },{wait: 200});
+                    });
  
                 } else {
                     fileName = dbName.replace(worldName + '/', "");
@@ -4991,7 +4991,7 @@ if ( ! childComponent.source ) {
                         //console.log(r);
                         parseComp(r);
     
-                    },{wait: 200});
+                    });
                 }
 
                // userDB.get(fileName).once(, {wait: 1000})

+ 1 - 1
public/vwf/model/aframe.js

@@ -632,7 +632,7 @@ define(["module", "vwf/model", "vwf/utility"], function (module, model, utility)
                                     }
 
                                     }
-                                },{wait: 200});
+                                });
 
 
                                 // httpGetJson(propertyValue).then(function (response) {