Skip to content
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

Document jQuery.cleanData #996

Open
mgol opened this issue Nov 7, 2016 · 0 comments
Open

Document jQuery.cleanData #996

mgol opened this issue Nov 7, 2016 · 0 comments
Assignees
Milestone

Comments

@mgol
Copy link
Member

mgol commented Nov 7, 2016

jQuery.cleanData has been in jQuery for ages. It's supposed to be private but it's a convenient hook and jQuery UI & Angular 1.x are both using it for their cleanups. We should document this method.

@mgol mgol added this to the 3.0.0 milestone Nov 7, 2016
@mgol mgol self-assigned this Nov 7, 2016
leonard-thieu added a commit to leonard-thieu/DefinitelyTyped that referenced this issue Oct 9, 2018
ghost pushed a commit to DefinitelyTyped/DefinitelyTyped that referenced this issue Oct 9, 2018
…oads for `jQuery.getScript` and Data APIs. (#29573)

* [jquery] Introduce interface for `jQuery.fx`.

* [jquery] Attach `jQuery.Deferred` documentation to correct symbol.

* [jquery] Convert `jQuery.Callbacks` to an interface.

This change is purely for consistency with similar properties (e.g. `jQuery.Deferred`, `jQuery.Event`).

* [jquery] For `JQuery`, reduce examples to only those relevant to the overload and use shorter template for code-only examples.

* [jquery] For `JQueryStatic`, reduce examples to only those relevant to the overload and use shorter template for code-only examples.

* [jquery] For `JQuery.Event`, reduce examples to only those relevant to the overload and use shorter template for code-only examples.

* [jquery] For `JQuery.Callbacks`, reduce examples to only those relevant to the overload and use shorter template for code-only examples.

* [jquery] For `JQuery.PromiseBase`/`JQuery.Deferred`, reduce examples to only those relevant to the overload and use shorter template for code-only examples.

* [jquery] Consistent ordering.

* [jquery] Add `jQuery.getScript(options)`.

See jquery/api.jquery.com#1052.

* [jquery] Fix documentation for this one overload of `jQuery.proxy`.

* [jquery] Accept `Document`, `Window`, and `JQuery.PlainObject` for the `element` parameter of Data APIs.

See https://github.com/jquery/jquery/blob/354f6036f251a3ce9b24cd7b228b4c7a79001520/test/unit/data.js#L142-L164 and jquery/api.jquery.com#1035.

* [jquery] Add `jQuery.cleanData`.

See jquery/api.jquery.com#996.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant