-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
In this commit: - Convert Shifty to be authored in TypeScript - Publish ES5 artifacts - Remove Core build - Switch from JSDoc to TypeDoc - Fix various minor bugs Breaking changes: - `Tweenable.formulas` has been renamed to `Tweenable.easing` - `tweenConfig.step` has been removed in favor of `tweenConfig.render` (behavior and API is unchanged). - `tweenConfig.attachment` has been removed in favor of `tweenConfig.data` (behavior and API is unchanged). - `Tweenable#tweenable` has been removed. - `Tweenable#set()` is now `Tweenable#setState`. - `Tweenable#get()` is now `Tweenable#state` (a getter, not a method). - `Tweenable#hasEnded()` is now `Tweenable#hasEnded` (a getter, not a method). - `Tweenable#isPlaying()` is now `Tweenable#isPlaying` (a getter, not a method). - `Tweenable#setScheduleFunction` has been removed. The static method `Tweenable.setScheduleFunction` method should be used instead. - Render handler parameters have been reordered: - In v2, the function signature was `(state: TweenState, data: Data, timeElapsed: number) => void` - In v3, the function signature was `(state: TweenState, timeElapsed: number, data: Data) => void` - `Scene#play()` has been renamed to `Scene#tween`. - `Scene#isPlaying()` is now `Scene#isPlaying` (a getter, not a method). - `Scene#playingTweenables()` has been removed. - `unsetBezierFunction` has been removed. - Shifty "Core" build has been removed.
- Loading branch information
1 parent
fee93af
commit 1f4725f
Showing
39 changed files
with
9,848 additions
and
9,374 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"presets": ["@babel/preset-env"], | ||
"presets": ["@babel/preset-env", "@babel/preset-typescript"], | ||
"plugins": ["@babel/plugin-proposal-class-properties"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.