.die()
was removed in jQuery 1.9 - use .off()
instead.
Examples of incorrect code for this rule:
$('.something').die('click')
Examples of correct code for this rule:
$('body').off('click', '.something')
.die()
was removed in jQuery 1.9 - use .off()
instead.
Examples of incorrect code for this rule:
$('.something').die('click')
Examples of correct code for this rule:
$('body').off('click', '.something')