Commit eabac3f6 authored by Ed Engelhardt's avatar Ed Engelhardt

fix style, prefix and typo in a few comments

parent d7fe34c4
...@@ -307,7 +307,7 @@ jQuery.fn.extend({ ...@@ -307,7 +307,7 @@ jQuery.fn.extend({
* Binds a handler to a particular event (like click) for each matched element. * Binds a handler to a particular event (like click) for each matched element.
* The handler is executed only once for each element. Otherwise, the same rules * The handler is executed only once for each element. Otherwise, the same rules
* as described in bind() apply. * as described in bind() apply.
The event handler is passed an event object that you can use to prevent * The event handler is passed an event object that you can use to prevent
* default behaviour. To stop both default action and event bubbling, your handler * default behaviour. To stop both default action and event bubbling, your handler
* has to return false. * has to return false.
* *
...@@ -570,7 +570,7 @@ jQuery.extend({ ...@@ -570,7 +570,7 @@ jQuery.extend({
// Reset the list of functions // Reset the list of functions
jQuery.readyList = null; jQuery.readyList = null;
} }
// Remove event lisenter to avoid memory leak // Remove event listener to avoid memory leak
if ( jQuery.browser.mozilla || jQuery.browser.opera ) if ( jQuery.browser.mozilla || jQuery.browser.opera )
document.removeEventListener( "DOMContentLoaded", jQuery.ready, false ); document.removeEventListener( "DOMContentLoaded", jQuery.ready, false );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment