mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-28 12:30:21 +08:00
jQuery : updated "not" elements param to be an array (was incorrectly using a spread operator)
This commit is contained in:
1 parent
27e98c87a8
commit
05b17e447e
2 files changed
+5
-1
No files matched your search
@@ -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