Updated description of L.Popup source arg

https://github.com/Leaflet/Leaflet/issues/2146
This commit is contained in:
Benny Lichtner 2013-11-05 20:58:45 -08:00
parent d79e8187b5
commit 00a8820b5b

View File

@ -1584,7 +1584,7 @@ var map = L.map('map', {
<tr>
<td><code><b>L.Popup</b>(
<nobr>&lt;<a href="#popup-options">Popup options</a>&gt; <i>options?</i>,</nobr>
<nobr>&lt;object&gt; <i>source?</i> )</nobr>
<nobr>&lt;<a href="#ilayer">ILayer</a>&gt; <i>source?</i> )</nobr>
</code></td>
<td class="factory-usage">
@ -1592,7 +1592,7 @@ var map = L.map('map', {
<code>L.popup(<span class="comment">&hellip;</span>)</code>
</td>
<td>Instantiates a Popup object given an optional options object that describes its appearance and location and an optional object that is used to tag the popup with a reference to the source object to which it refers.</td>
<td>Instantiates a Popup object given an optional options object that describes its appearance and location and an optional source object that is used to tag the popup with a reference to the ILayer to which it refers.</td>
</tr>
</table>