[Commits] r1725 - sandbox/cmoullet/ux/StreetViewPanel/ux/widgets

commits at geoext.org commits at geoext.org
Tue Jan 12 20:10:17 CET 2010


Author: cmoullet
Date: 2010-01-12 20:10:17 +0100 (Tue, 12 Jan 2010)
New Revision: 1725

Modified:
   sandbox/cmoullet/ux/StreetViewPanel/ux/widgets/StreetViewPanel.js
Log:
global variables...

Modified: sandbox/cmoullet/ux/StreetViewPanel/ux/widgets/StreetViewPanel.js
===================================================================
--- sandbox/cmoullet/ux/StreetViewPanel/ux/widgets/StreetViewPanel.js	2010-01-12 19:10:05 UTC (rev 1724)
+++ sandbox/cmoullet/ux/StreetViewPanel/ux/widgets/StreetViewPanel.js	2010-01-12 19:10:17 UTC (rev 1725)
@@ -13,10 +13,10 @@
  */
 Ext.namespace('GeoExt.ux');
 
-/** private: property[scriptSource]
+/** private: property[scriptSourceStreetView]
  *  ``String``  Source of this script: complete URL
  */
-var scriptSource = (function() {
+var scriptSourceStreetView = (function() {
     var scripts = document.getElementsByTagName('script'),
             script = scripts[scripts.length - 1];
 
@@ -130,7 +130,7 @@
     /** private: property[baseUrl]
      *  ``String``  base url of this file (directory of the ux)
      */
-    baseUrl: scriptSource.replace('/ux/widgets/StreetViewPanel.js', ''),
+    baseUrl: scriptSourceStreetView.replace('/ux/widgets/StreetViewPanel.js', ''),
 
     /** private: method[initComponent]
      *  Private initComponent override.



More information about the Commits mailing list