Skip to content

Invoke jQuery.ready callbacks without context #3026

Open
@gibson042

Description

@gibson042

jQuery.ready callbacks are currently invoked with document context, but this is soo 2014. Promises/A+ and ES2015 Promises explicitly specify that then callbacks should be called without a this context. And although jQuery.Deferred#*With methods provide context to callbacks, we are moving in the direction of increased standards compliance, and should stop providing it in this case, especially since it will soon be thenable itself.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions