Add missing new keyword in doc. thanks @DaveCausey (closes #111)

This commit is contained in:
fredj
2011-12-16 17:14:12 +01:00
parent 0176d052a7
commit ec16a9c0b1

View File

@@ -70,7 +70,7 @@ OpenLayers.Layer.TMS = OpenLayers.Class(OpenLayers.Layer.Grid, {
*
* Example:
* (code)
* var layer = OpenLayers.Layer.TMS(
* var layer = new OpenLayers.Layer.TMS(
* "My Layer",
* "http://tilecache.osgeo.org/wms-c/Basic.py/",
* {