From ec16a9c0b147107093a0ac16882c23bc96a6a057 Mon Sep 17 00:00:00 2001 From: fredj Date: Fri, 16 Dec 2011 17:14:12 +0100 Subject: [PATCH] Add missing new keyword in doc. thanks @DaveCausey (closes #111) --- lib/OpenLayers/Layer/TMS.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Layer/TMS.js b/lib/OpenLayers/Layer/TMS.js index b813e95f7f..d1c766f859 100644 --- a/lib/OpenLayers/Layer/TMS.js +++ b/lib/OpenLayers/Layer/TMS.js @@ -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/", * {