소스 검색

chore(tslint): Fixed tslint errors

Peter Henry 5 년 전
부모
커밋
b0fbf9fdbf
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/assetContainer.ts

+ 2 - 2
src/assetContainer.ts

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