-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(): support aborting promises/requests #7827
Merged
Merged
Changes from 22 commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
735e854
fix(loadFromJSON): clear canvas
ShaMan123 cb13c0c
Update canvas_serialization.mixin.js
ShaMan123 d927c7e
feat(util): support aborting `loadImage`
ShaMan123 47e98f4
refactor `renderOnAddRemove`
ShaMan123 172d550
Update misc.js
ShaMan123 65e6984
parallel promise
ShaMan123 b8f0ada
live namespace
ShaMan123 c02b917
enliven options
ShaMan123 c1fdfd4
Update misc.js
ShaMan123 cc0539d
Update image.class.js
ShaMan123 3099a65
Update pattern.class.js
ShaMan123 f46d833
aborting
ShaMan123 54b01e5
aborting svg parsing
ShaMan123 5857859
bump node to support AbortController
ShaMan123 4ffefd6
listen to abort once
ShaMan123 aaf3f5b
bump node tests
ShaMan123 da720f5
lint + JSDOC
ShaMan123 82c4e9e
Update parser.js
ShaMan123 b1470dd
feat(Image): abort `setSrc`
ShaMan123 20e8e87
Update .eslintrc.json
ShaMan123 ea049c9
Update canvas_serialization.mixin.js
ShaMan123 92f5336
remove `resolveNamespace`
ShaMan123 7510ab1
Update pattern.class.js
ShaMan123 0565006
Update misc.js
ShaMan123 88b3f0c
consolidate options object
ShaMan123 3e0f7b6
abort image filter loading
ShaMan123 9f82c17
fire `loading:aborted` event
ShaMan123 bb26215
Update object.class.js
ShaMan123 b3a0ea7
disposing after aborting
ShaMan123 fc55713
remove DOMException
ShaMan123 e4d3882
Update canvas_static.js
ShaMan123 131513c
Update image.class.js
ShaMan123 32ec3c5
Update canvas_static.js
ShaMan123 a21a4a4
fix(): concurrency error
ShaMan123 c9713b1
Update misc.js
ShaMan123 53b4c5d
tests + concurrency test
ShaMan123 2e4b7d4
removeListener on error
ShaMan123 1081460
Update misc.js
ShaMan123 8c4cd91
bump node version
ShaMan123 3d38254
Update dom_request.js
ShaMan123 a3030dc
bump node version
ShaMan123 19b5ea5
Update image.class.js
ShaMan123 13c6940
Update image.js
ShaMan123 639223e
bump node to v16
ShaMan123 ea8f234
Merge branch 'master' into fix-json-load
ShaMan123 13c0056
Merge branch 'master' into fix-json-load
ShaMan123 54e1c0e
typo
ShaMan123 fd6573e
rename
ShaMan123 1ff31f1
rename
ShaMan123 4f5b6e2
incoming signal **ONLY** + revert node to v14
ShaMan123 52ba6fb
missed out
ShaMan123 ec86828
tests
ShaMan123 a61e3e6
Update canvas_serialization.mixin.js
ShaMan123 b15bea1
conform rejection object
ShaMan123 db16268
Update canvas_serialization.mixin.js
ShaMan123 efaf0b4
restore config for tests
ShaMan123 06a1d62
revert node v
ShaMan123 File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BREAKING