From f4c7a7b97467b6714930d973542a54ea0870ecb7 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Mon, 20 Mar 2017 15:45:03 -0700 Subject: [PATCH] Selector: Move from global to instance property category Follows-up e3c9d15239, which added it to the wrong category. --- entries/selector.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entries/selector.xml b/entries/selector.xml index e9e61c1e..d64fc0aa 100644 --- a/entries/selector.xml +++ b/entries/selector.xml @@ -9,7 +9,7 @@

The .selector property was deprecated in jQuery 1.7 and is only maintained to the extent needed for supporting .live() in the jQuery Migrate plugin. It may be removed without notice in a future version. The property was never a reliable indicator of the selector that could be used to obtain the set of elements currently contained in the jQuery set where it was a property, since subsequent traversal methods may have changed the set. Plugins that need to use a selector string within their plugin can require it as a parameter of the method. For example, a "foo" plugin could be written as $.fn.foo = function( selector, options ) { /* plugin code goes here */ };, and the person using the plugin would write $( "div.bar" ).foo( "div.bar", {dog: "bark"} ); with the "div.bar" selector repeated as the first argument of .foo().

- +