Browse Source

chore(tslint): Fixed tslint errors

Peter Henry 5 năm trước cách đây
mục cha
commit
b0fbf9fdbf
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/assetContainer.ts

+ 2 - 2
src/assetContainer.ts

@@ -485,11 +485,11 @@ export class AssetContainer extends AbstractScene {
             return;
         }
 
-        let _targetConverter = targetConverter ? targetConverter : (target: any) => { 
+        let _targetConverter = targetConverter ? targetConverter : (target: any) => {
             let node = null;
 
             // Remove _primitive and get change things like "Foot.L" to "FootL"
-            const name = target.name.split(".").join("").split("_")[0]
+            const name = target.name.split(".").join("").split("_")[0];
 
             switch (target.animations.length ? target.animations[0].targetProperty : "") {
             case "position":