[Mapbender-commits] r2115 - branches/2.5/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Feb 20 05:40:53 EST 2008


Author: verenadiewald
Date: 2008-02-20 05:40:53 -0500 (Wed, 20 Feb 2008)
New Revision: 2115

Modified:
   branches/2.5/http/javascripts/core.js
Log:
added register functions mb_registerPanSubElement and mb_registerVendorSpecific from map.js

Modified: branches/2.5/http/javascripts/core.js
===================================================================
--- branches/2.5/http/javascripts/core.js	2008-02-20 10:40:19 UTC (rev 2114)
+++ branches/2.5/http/javascripts/core.js	2008-02-20 10:40:53 UTC (rev 2115)
@@ -139,6 +139,17 @@
 	mb_l10nFunctions[mb_l10nFunctions.length] = stringFunction;
 }
 
+var mb_PanSubElements = [];
+function mb_registerPanSubElement(elName){
+	var ind = mb_PanSubElements.length;
+	mb_PanSubElements[ind] = elName;
+}
+
+var mb_vendorSpecific = [];
+function mb_registerVendorSpecific(stringFunction){
+	mb_vendorSpecific[mb_vendorSpecific.length] = stringFunction;
+}
+
 /**
  * deprecated function for writing content within a tag via innerHTML
  * @deprecated



More information about the Mapbender_commits mailing list