Skip to content

Commit 1f3163a

Browse files
committed
fix typos in lib/events.js 📚
1 parent 8e2d1fe commit 1f3163a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/lib/events.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ var Events = {
8585
},
8686

8787
/*
88-
* This function behaves like jQueries triggerHandler. It calls
88+
* This function behaves like jQuery's triggerHandler. It calls
8989
* all handlers for a particular event and returns the return value
9090
* of the LAST handler. This function also triggers jQuery's
9191
* triggerHandler for backwards compatibility.
@@ -98,7 +98,7 @@ var Events = {
9898
var jQueryHandlerValue;
9999
var nodeEventHandlerValue;
100100
/*
101-
* If Jquery exists run all its handlers for this event and
101+
* If jQuery exists run all its handlers for this event and
102102
* collect the return value of the LAST handler function
103103
*/
104104
if(typeof jQuery !== 'undefined') {
@@ -133,9 +133,9 @@ var Events = {
133133
nodeEventHandlerValue = lastHandler(data);
134134

135135
/*
136-
* Return either the jquery handler value if it exists or the
137-
* nodeEventHandler value. Jquery event value superceeds nodejs
138-
* events for backwards compatability reasons.
136+
* Return either the jQuery handler value if it exists or the
137+
* nodeEventHandler value. jQuery event value supersedes nodejs
138+
* events for backwards compatibility reasons.
139139
*/
140140
return jQueryHandlerValue !== undefined ? jQueryHandlerValue :
141141
nodeEventHandlerValue;

0 commit comments

Comments
 (0)