Skip to content

Commit

Permalink
Add version flag
Browse files Browse the repository at this point in the history
  • Loading branch information
epreston committed Sep 14, 2023
1 parent a7638f9 commit c48ebef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/component/Spine.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class Spine {
);
this._spine_3_6_0 = semver.satisfies(this.skeletonVersion, '<=3.6.0'); // version 3.6.0 or below
this._spine_3_7_99 = semver.satisfies(this.skeletonVersion, '<=3.7.99'); // version 3.7.99 or below
this._spine_4_0_X = semver.satisfies(this.skeletonVersion, '~4.0.0'); // version 4.0 family (4.0.31 - 4.0.79-beta)
this._spine_4_1_X = semver.satisfies(this.skeletonVersion, '~4.1.23'); // version 4.1 family

this.skeleton = new spine.Skeleton(_skeletonData);
Expand Down

0 comments on commit c48ebef

Please sign in to comment.