Merge remote-tracking branch 'refs/remotes/borisyankov/master'

This commit is contained in:
Zhiyuan Wang
2015-11-01 10:06:09 +08:00
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -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() {
+1 -1
View File
@@ -3050,7 +3050,7 @@ interface JQuery {
*
* @param elements One or more DOM elements to remove from the matched set.
*/
not(...elements: Element[]): JQuery;
not(elements: Element|Element[]): JQuery;
/**
* Remove elements from the set of matched elements.
*