Skip to content

Commit bff021b

Browse files
committed
Merge branch 'issue-82-fix'
2 parents b81fc84 + 2c80d43 commit bff021b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

jquery-patterns/event-delegation.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
Description: event delegation pattern and antipattern
1111
*/
1212

13-
// antipattern
14-
$('a.trigger', $('#container')[0]).live('click', handlerFn);
13+
// antipattern
14+
// As of jQuery 1.7, the .live() method is deprecated
15+
// $('a.trigger', $('#container')[0]).live('click', handlerFn);
1516

1617

1718
// preferred

0 commit comments

Comments
 (0)