mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-04 09:10:09 +00:00
Remove deprecated jQuery.andSelf()
This commit is contained in:
2
jquery/jquery-1.9.d.ts
vendored
2
jquery/jquery-1.9.d.ts
vendored
@@ -671,8 +671,6 @@ interface JQuery {
|
||||
add(html: string): JQuery;
|
||||
add(obj: JQuery): JQuery;
|
||||
|
||||
andSelf(): JQuery;
|
||||
|
||||
children(selector?: any): JQuery;
|
||||
|
||||
closest(selector: string): JQuery;
|
||||
|
||||
@@ -292,13 +292,6 @@ function test_allSelector() {
|
||||
$("body").prepend("<h3>" + elementCount2 + " elements found</h3>");
|
||||
}
|
||||
|
||||
function test_andSelf() {
|
||||
$('li.third-item').nextAll().andSelf()
|
||||
.css('background-color', 'red');
|
||||
$("div").find("p").andSelf().addClass("border");
|
||||
$("div").find("p").addClass("background");
|
||||
}
|
||||
|
||||
function test_animate() {
|
||||
$('#clickme').click(function () {
|
||||
$('#book').animate({
|
||||
|
||||
Reference in New Issue
Block a user