Explorar o código

chore(tslint): Fixed tslint errors

Peter Henry %!s(int64=5) %!d(string=hai) anos
pai
achega
b0fbf9fdbf
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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":