update documentation for map.hasListeners to map.hasEventListeners

This commit is contained in:
Chris Keen 2012-02-01 14:42:39 -05:00
parent 453aed8072
commit 7b44384bcd

View File

@ -2346,7 +2346,7 @@ var marker = new L.Marker(marker, {icon: icon});</code></pre>
<td>Alias to <code>removeEventListener</code>.</td> <td>Alias to <code>removeEventListener</code>.</td>
</tr> </tr>
<tr> <tr>
<td><code>hasListeners( &lt;String&gt;&nbsp;<i>type</i>&nbsp;)</code></td> <td><code>hasEventListeners( &lt;String&gt;&nbsp;<i>type</i>&nbsp;)</code></td>
<td><code>Boolean</code></td> <td><code>Boolean</code></td>
<td>Returns true if a particular event type has some listeners attached to it.</td> <td>Returns true if a particular event type has some listeners attached to it.</td>
</tr> </tr>