pixi-spine
Advanced tools
Comparing version 1.3.7 to 1.3.8
@@ -766,5 +766,5 @@ /// <reference types="pixi.js" /> | ||
meshes: any; | ||
currentMeshName: String; | ||
currentMeshName: string; | ||
sprites: any; | ||
currentSpriteName: String; | ||
currentSpriteName: string; | ||
blendMode: number; | ||
@@ -1003,3 +1003,3 @@ tempRegion: TextureRegion; | ||
function atlasParser(): (resource: PIXI.loaders.Resource, next: () => any) => any; | ||
function imageLoaderAdapter(loader: any, namePrefix: any, baseUrl: any, imageOptions: any): (line: String, callback: (baseTexture: PIXI.BaseTexture) => any) => void; | ||
function imageLoaderAdapter(loader: any, namePrefix: any, baseUrl: any, imageOptions: any): (line: string, callback: (baseTexture: PIXI.BaseTexture) => any) => void; | ||
function syncImageLoaderAdapter(baseUrl: any, crossOrigin: any): (line: any, callback: any) => void; | ||
@@ -1035,3 +1035,3 @@ } | ||
hackTextureBySlotIndex(slotIndex: number, texture?: PIXI.Texture, size?: PIXI.Rectangle): boolean; | ||
hackTextureBySlotName: (slotName: String, texture?: PIXI.Texture, size?: PIXI.Rectangle) => any; | ||
hackTextureBySlotName: (slotName: string, texture?: PIXI.Texture, size?: PIXI.Rectangle) => any; | ||
} | ||
@@ -1038,0 +1038,0 @@ } |
{ | ||
"name": "pixi-spine", | ||
"version": "1.3.7", | ||
"version": "1.3.8", | ||
"description": "Spine implementation for pixi v^3 and v^4", | ||
@@ -5,0 +5,0 @@ "author": "Mat Groves", |
@@ -38,5 +38,5 @@ /****************************************************************************** | ||
meshes: any; | ||
currentMeshName: String; | ||
currentMeshName: string; | ||
sprites: any; | ||
currentSpriteName: String; | ||
currentSpriteName: string; | ||
blendMode: number; | ||
@@ -43,0 +43,0 @@ //assign hack region a bit later |
@@ -83,3 +83,3 @@ namespace pixi_spine { | ||
} | ||
return function (line: String, callback: (baseTexture: PIXI.BaseTexture) => any) { | ||
return function (line: string, callback: (baseTexture: PIXI.BaseTexture) => any) { | ||
var name = namePrefix + line; | ||
@@ -86,0 +86,0 @@ var url = baseUrl + line; |
@@ -473,3 +473,3 @@ /// <reference types="pixi.js" /> | ||
*/ | ||
hackTextureBySlotName = function (slotName: String, texture: PIXI.Texture = null, size: PIXI.Rectangle = null) { | ||
hackTextureBySlotName = function (slotName: string, texture: PIXI.Texture = null, size: PIXI.Rectangle = null) { | ||
var index = this.skeleton.findSlotIndex(slotName); | ||
@@ -476,0 +476,0 @@ if (index == -1) { |
Sorry, the diff of this file is not supported yet
1251554