Skip to content

Default end to true in stop method#2

Open
BAUR0 wants to merge 4 commits into
themoonrat:masterfrom
BAUR0:default-end-to-true-in-stop-method
Open

Default end to true in stop method#2
BAUR0 wants to merge 4 commits into
themoonrat:masterfrom
BAUR0:default-end-to-true-in-stop-method

Conversation

@BAUR0

@BAUR0 BAUR0 commented Feb 9, 2018

Copy link
Copy Markdown

Promises (if any created) should be cleaned up by via the _end method by default.

BAUR0 added 2 commits February 9, 2018 14:03
Default the end parameter in the stop method to be true - ensure that if a tween is just stopped that the Promises created (if any) will be cleaned up.
adding to JSDoc
@BAUR0 BAUR0 closed this Feb 9, 2018
@BAUR0 BAUR0 deleted the default-end-to-true-in-stop-method branch February 9, 2018 14:20
Adding to Tween.js
@BAUR0 BAUR0 reopened this Feb 9, 2018
Removing changes from compiled code
@themoonrat

Copy link
Copy Markdown
Owner

I'll need to check through existing games before accepting this. The concept of stop used to be more of a 'pause', but now we're wanting it to be something different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants