Browse Source

[as3] Fixed compiler warning.

Nathan Sweet 4 years ago
parent
commit
70e86e23a1

+ 9 - 9
spine-as3/spine-as3-example/.vscode/launch.json

@@ -1,11 +1,11 @@
 {
 {
-    "version": "0.2.0",
-    "configurations": [
-        {
-            "type": "swf",
-            "request": "launch",
-            "name": "Launch spine-as3-example",
-            "preLaunchTask": "Compile debug"
-        }
-    ]
+	"version": "0.2.0",
+	"configurations": [
+		{
+			"type": "swf",
+			"request": "launch",
+			"name": "Launch spine-as3-example",
+			"preLaunchTask": "Compile debug"
+		}
+	]
 }
 }

+ 8 - 8
spine-as3/spine-as3-example/.vscode/tasks.json

@@ -1,10 +1,10 @@
 {
 {
-    "version": "2.0.0",
-    "tasks": [
-        {
-            "label": "Compile debug",
-            "type": "actionscript",
-            "debug": true
-        }
-    ]
+	"version": "2.0.0",
+	"tasks": [
+		{
+			"label": "Compile debug",
+			"type": "actionscript",
+			"debug": true
+		}
+	]
 }
 }

+ 12 - 12
spine-as3/spine-as3-example/asconfig.json

@@ -1,17 +1,17 @@
 {
 {
 	"compilerOptions": {
 	"compilerOptions": {
-        "output": "bin/spine-as3-example.swf",        
-        "source-path": [
-            "src",
-            "../spine-as3/src"
-        ],
-        "default-size": {
-            "width": 550,
-            "height": 500
-        },
-        "target-player": "32.0",
-        "swf-version": 43        
-    },        
+		"output": "bin/spine-as3-example.swf",		
+		"source-path": [
+			"src",
+			"../spine-as3/src"
+		],
+		"default-size": {
+			"width": 550,
+			"height": 500
+		},
+		"target-player": "32.0",
+		"swf-version": 43		
+	},		
 	"files": [
 	"files": [
 		"src/spine/examples/Main.as"
 		"src/spine/examples/Main.as"
 	]
 	]

+ 2 - 2
spine-as3/spine-as3/asconfig.json

@@ -7,7 +7,7 @@
 		"include-sources": [
 		"include-sources": [
 			"src"
 			"src"
 		],
 		],
-        "output": "../spine-as3/lib/spine-as3.swc",
-        "target-player": "32.0"
+		"output": "../spine-as3/lib/spine-as3.swc",
+		"target-player": "32.0"
 	}
 	}
 }
 }

+ 0 - 1
spine-as3/spine-as3/src/spine/animation/AnimationState.as

@@ -618,7 +618,6 @@ package spine.animation {
 			animationsChanged = false;
 			animationsChanged = false;
 
 
 			propertyIDs.clear();
 			propertyIDs.clear();
-			var tracks = this.tracks;
 			for (var i : int = 0, n : int = tracks.length; i < n; i++) {
 			for (var i : int = 0, n : int = tracks.length; i < n; i++) {
 				var entry : TrackEntry = tracks[i];
 				var entry : TrackEntry = tracks[i];
 				if (!entry) continue;
 				if (!entry) continue;

+ 8 - 8
spine-starling/spine-starling/asconfig.json

@@ -6,13 +6,13 @@
             "../../spine-as3/spine-as3/src"
             "../../spine-as3/spine-as3/src"
 		],
 		],
 		"include-sources": [
 		"include-sources": [
-            "src",
-            "../../spine-as3/spine-as3/src"
-        ],
-        "external-library-path": [
-            "starling-2.4.swc"
-        ],
-        "output": "lib/spine-starling.swc",
-        "target-player": "32.0"
+			"src",
+			"../../spine-as3/spine-as3/src"
+	  ],
+	  "external-library-path": [
+			"starling-2.4.swc"
+	  ],
+	  "output": "lib/spine-starling.swc",
+	  "target-player": "32.0"
 	}
 	}
 }
 }