Skip to content

Conversation

@vlakoff
Copy link
Contributor

@vlakoff vlakoff commented Oct 19, 2022

When executing a callback provided to the optional success parameter of $.getScript(),
we can assume the script has been executed already.

Just like when using .done() on the returned jqXHR object.

See issue #1207.

When executing a callback provided to the optional "success" parameter of $.getScript(),
we can assume the script has been executed already.

Just like when using .done() on the returned jqXHR object.

See issue #1207.
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Oct 19, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

Copy link
Member

@mgol mgol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@mgol mgol changed the title Script has been executed when executing the optional "success" callback jQuery.getScript: Script has been executed before the success callback Nov 18, 2022
@mgol mgol merged commit 5274a11 into jquery:main Nov 18, 2022
@vlakoff vlakoff deleted the getScript branch June 9, 2025 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants