Remove deprecated jQuery.andSelf()

This commit is contained in:
Boris Yankov committed 2013-01-17 02:52:42 +02:00
1 parent 7c0d0de1c9
commit efaea9ec85
2 files changed
-9

No files matched your search

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