Fixed typo reference.html contructor = constructor

"If specify your own **contructor** for the control"
"If specify your own ***constructor*** for the control"
This commit is contained in:
Jeremy Iglehart 2013-02-15 15:44:10 -05:00
parent 3d75852a90
commit f664da6ebc

View File

@ -5494,7 +5494,7 @@ map.addLayer(new MyCustomLayer(latlng));
map.addControl(new MyControl());
</code></pre>
<p>If specify your own contructor for the control, you'll also probably want to process options properly:</p>
<p>If specify your own constructor for the control, you'll also probably want to process options properly:</p>
<pre><code>var MyControl = L.Control.extend({
initialize: function (foo, options) {