mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
jQuery : updated "not" elements param to be an array (was incorrectly using a spread operator)
This commit is contained in:
@@ -3217,6 +3217,10 @@ function test_not() {
|
||||
$("p").not("#selected");
|
||||
|
||||
$("p").not($("div p.selected"));
|
||||
|
||||
var el1 = $("<div/>")[0];
|
||||
var el2 = $("<div/>")[0];
|
||||
$("p").not([el1, el2]);
|
||||
}
|
||||
|
||||
function test_EventIsNewable() {
|
||||
|
||||
Reference in New Issue
Block a user