Skip to content

Commit

Permalink
Selector: Move from global to instance property category
Browse files Browse the repository at this point in the history
Follows-up e3c9d15, which added it to the wrong category.

Closes #1030
  • Loading branch information
Krinkle authored and mgol committed Mar 22, 2017
1 parent 21c1fb1 commit 65f99f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entries/selector.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<p>The <code>.selector</code> property was deprecated in jQuery 1.7 and is only maintained to the extent needed for supporting <code>.live()</code> 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 <code>$.fn.foo = function( selector, options ) { /* plugin code goes here */ };</code>, and the person using the plugin would write <code>$( "div.bar" ).foo( "div.bar", {dog: "bark"} );</code> with the <code>"div.bar"</code> selector repeated as the first argument of <code>.foo()</code>.</p>
</longdesc>
<category slug="internals"/>
<category slug="properties/global-jquery-object-properties"/>
<category slug="properties/jquery-object-instance-properties"/>
<category slug="version/1.3"/>
<category slug="deprecated/deprecated-1.7"/>
<category slug="removed"/>
Expand Down

0 comments on commit 65f99f9

Please sign in to comment.