From 768ad0108db94c51e4f27f7aa2a0f706f66a5f30 Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Mon, 5 Mar 2012 21:00:05 +0100 Subject: [PATCH] Move the declaration of OpenLayers.ImgPath from Util.js to OpenLayers.js. --- lib/OpenLayers.js | 10 +++++++++- lib/OpenLayers/Util.js | 8 -------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/OpenLayers.js b/lib/OpenLayers.js index b67381d4b5..4fdbb17c98 100644 --- a/lib/OpenLayers.js +++ b/lib/OpenLayers.js @@ -79,7 +79,15 @@ } } return (function() { return l; }); - })() + })(), + + /** + * APIProperty: ImgPath + * {String} Set this to the path where control images are stored. + * If set to '' OpenLayers will use script location + "img/" + * Default is ''. + */ + ImgPath : '' }; /** diff --git a/lib/OpenLayers/Util.js b/lib/OpenLayers/Util.js index 880e3435ab..4abc74deec 100644 --- a/lib/OpenLayers/Util.js +++ b/lib/OpenLayers/Util.js @@ -559,14 +559,6 @@ OpenLayers.Util.urlAppend = function(url, paramStr) { return newUrl; }; -/** - * APIProperty: ImgPath - * {String} Set this to the path where control images are stored. - * If set to '' OpenLayers will use script location + "img/" - * Default is ''. - */ -OpenLayers.ImgPath = ''; - /** * Function: getImagesLocation *