From c9d2d96c77e27e8152d8c22cd2f5ecdb9330f491 Mon Sep 17 00:00:00 2001 From: stonesun Date: Thu, 24 Jul 2014 11:58:58 +0800 Subject: [PATCH] Fix a typo, "`on.()`" to "`.on()`" --- page/events/history-of-events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/page/events/history-of-events.md b/page/events/history-of-events.md index 4a5d443c..b66981e9 100644 --- a/page/events/history-of-events.md +++ b/page/events/history-of-events.md @@ -115,7 +115,7 @@ $( "#list" ).delegate( "li", "click", function( event ) { ### [.on()](http://api.jquery.com/on/) First introduced in jQuery v1.7 -The `on.()` method gives us a semantic approach for creating directly bound events as well as delegated events. It eliminates the need to use the deprecated `.bind()`, `.live()`, and `.delegate()` methods, providing a single API for creating events. +The `.on()` method gives us a semantic approach for creating directly bound events as well as delegated events. It eliminates the need to use the deprecated `.bind()`, `.live()`, and `.delegate()` methods, providing a single API for creating events. ``` $( "#list" ).on( "click", "li", function( event ) {