Remove deprecated jQuery.andSelf()

This commit is contained in:
Boris Yankov
2013-01-17 02:52:42 +02:00
parent 7c0d0de1c9
commit efaea9ec85
2 changed files with 0 additions and 9 deletions

View File

@@ -671,8 +671,6 @@ interface JQuery {
add(html: string): JQuery;
add(obj: JQuery): JQuery;
andSelf(): JQuery;
children(selector?: any): JQuery;
closest(selector: string): JQuery;

View File

@@ -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({