i before e except after c

This commit is contained in:
Tom MacWright 2014-03-06 20:24:04 -05:00
parent 6c409bc924
commit 409938d023

View File

@ -4707,7 +4707,7 @@ map.off('click', onClick);</code></pre>
<h2 id="event-objects">Event objects</h2>
<p>Event object is an object that you recieve as an argument in a listener function when some event is fired, containing useful information about that event. For example:</p>
<p>Event object is an object that you receive as an argument in a listener function when some event is fired, containing useful information about that event. For example:</p>
<pre><code class="javascript">map.on('click', function(e) {
alert(e.latlng); // e is an event object (MouseEvent in this case)