[Commits] r1834 - in ux/geoext.ux: tests ux/GeoNamesSearchCombo/examples ux/GeoNamesSearchCombo/lib/GeoExt.ux.geonames ux/GeoNamesSearchCombo/tests ux/GeoNamesSearchCombo/tests/lib/GeoExt.ux.geonames

commits at geoext.org commits at geoext.org
Thu Jan 28 09:07:40 CET 2010


Author: bbinet
Date: 2010-01-28 09:07:40 +0100 (Thu, 28 Jan 2010)
New Revision: 1834

Modified:
   ux/geoext.ux/tests/list-tests.html
   ux/geoext.ux/ux/GeoNamesSearchCombo/examples/GeoNamesSearchComboExample.html
   ux/geoext.ux/ux/GeoNamesSearchCombo/examples/GeoNamesSearchComboExample.js
   ux/geoext.ux/ux/GeoNamesSearchCombo/lib/GeoExt.ux.geonames/GeoNamesSearchCombo.js
   ux/geoext.ux/ux/GeoNamesSearchCombo/tests/lib/GeoExt.ux.geonames/GeoNamesSearchCombo.html
   ux/geoext.ux/ux/GeoNamesSearchCombo/tests/list-tests.html
Log:
move namespace to GeoExt.ux.geonames and rewrite corresponding paths

Modified: ux/geoext.ux/tests/list-tests.html
===================================================================
--- ux/geoext.ux/tests/list-tests.html	2010-01-28 07:42:29 UTC (rev 1833)
+++ ux/geoext.ux/tests/list-tests.html	2010-01-28 08:07:40 UTC (rev 1834)
@@ -1,3 +1,3 @@
 <ul id="testlist">
-  <li>../../geoext.ux/ux/GeoNamesSearchCombo/tests/lib/GeoExt.ux.GeoNamesSearchCombo/GeoNamesSearchCombo.html</li>
+  <li>../../geoext.ux/ux/GeoNamesSearchCombo/tests/lib/GeoExt.ux.geonames/GeoNamesSearchCombo.html</li>
 </ul>

Modified: ux/geoext.ux/ux/GeoNamesSearchCombo/examples/GeoNamesSearchComboExample.html
===================================================================
--- ux/geoext.ux/ux/GeoNamesSearchCombo/examples/GeoNamesSearchComboExample.html	2010-01-28 07:42:29 UTC (rev 1833)
+++ ux/geoext.ux/ux/GeoNamesSearchCombo/examples/GeoNamesSearchComboExample.html	2010-01-28 08:07:40 UTC (rev 1834)
@@ -7,7 +7,7 @@
         <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-2.2.1/examples/shared/examples.css" />
         <script src="http://openlayers.org/api/2.8/OpenLayers.js"></script>
         <script type="text/javascript" src="../../../../geoext/lib/GeoExt.js"></script>
-        <script type="text/javascript" src="../lib/GeoExt.ux.GeoNamesSearchCombo/GeoNamesSearchCombo.js"></script>
+        <script type="text/javascript" src="../lib/GeoExt.ux.geonames/GeoNamesSearchCombo.js"></script>
         <script type="text/javascript" src="GeoNamesSearchComboExample.js"></script>
 
     </head>

Modified: ux/geoext.ux/ux/GeoNamesSearchCombo/examples/GeoNamesSearchComboExample.js
===================================================================
--- ux/geoext.ux/ux/GeoNamesSearchCombo/examples/GeoNamesSearchComboExample.js	2010-01-28 07:42:29 UTC (rev 1833)
+++ ux/geoext.ux/ux/GeoNamesSearchCombo/examples/GeoNamesSearchComboExample.js	2010-01-28 08:07:40 UTC (rev 1834)
@@ -19,11 +19,11 @@
     var layer = new OpenLayers.Layer.OSM("OSM");
     map.addLayer(layer);
 
-    var geoNameSearchCombo = new GeoExt.ux.GeoNamesSearchCombo({
+    var geoNameSearchCombo = new GeoExt.ux.geonames.GeoNamesSearchCombo({
        map: map, zoom: 12
     });
 
-    new GeoExt.ux.GeoNamesSearchCombo({
+    new GeoExt.ux.geonames.GeoNamesSearchCombo({
        map: map,
        zoom: 8,
        renderTo: 'GeoNamesSearch'

Modified: ux/geoext.ux/ux/GeoNamesSearchCombo/lib/GeoExt.ux.geonames/GeoNamesSearchCombo.js
===================================================================
--- ux/geoext.ux/ux/GeoNamesSearchCombo/lib/GeoExt.ux.geonames/GeoNamesSearchCombo.js	2010-01-28 07:42:29 UTC (rev 1833)
+++ ux/geoext.ux/ux/GeoNamesSearchCombo/lib/GeoExt.ux.geonames/GeoNamesSearchCombo.js	2010-01-28 08:07:40 UTC (rev 1834)
@@ -12,9 +12,9 @@
  *  base_link = `Ext.form.ComboBox <http://extjs.com/deploy/dev/docs/?class=Ext.form.ComboBox>`_
  */
 
-Ext.namespace("GeoExt.ux");
+Ext.namespace("GeoExt.ux.geonames");
 
-GeoExt.ux.GeoNamesSearchCombo = Ext.extend(Ext.form.ComboBox, {
+GeoExt.ux.geonames.GeoNamesSearchCombo = Ext.extend(Ext.form.ComboBox, {
     /** api: config[map]
      *  ``OpenLayers.Map or Object``  A configured map or a configuration object
      *  for the map constructor, required only if :attr:`zoom` is set to
@@ -217,7 +217,7 @@
     /** private: constructor
      */
     initComponent: function() {
-        GeoExt.ux.GeoNamesSearchCombo.superclass.initComponent.apply(this, arguments);
+        GeoExt.ux.geonames.GeoNamesSearchCombo.superclass.initComponent.apply(this, arguments);
 
         var urlAppendString = '';
 
@@ -312,4 +312,4 @@
 });
 
 /** api: xtype = gxux_geonamessearchcombo */
-Ext.reg('gxux_geonamessearchcombo', GeoExt.ux.GeoNamesSearchCombo);
+Ext.reg('gxux_geonamessearchcombo', GeoExt.ux.geonames.GeoNamesSearchCombo);

Modified: ux/geoext.ux/ux/GeoNamesSearchCombo/tests/lib/GeoExt.ux.geonames/GeoNamesSearchCombo.html
===================================================================
--- ux/geoext.ux/ux/GeoNamesSearchCombo/tests/lib/GeoExt.ux.geonames/GeoNamesSearchCombo.html	2010-01-28 07:42:29 UTC (rev 1833)
+++ ux/geoext.ux/ux/GeoNamesSearchCombo/tests/lib/GeoExt.ux.geonames/GeoNamesSearchCombo.html	2010-01-28 08:07:40 UTC (rev 1834)
@@ -4,7 +4,7 @@
 
     <script type="text/javascript" src="http://extjs.cachefly.net/builds/ext-cdn-771.js"></script>
     <script type="text/javascript" src="../../../../../../geoext/lib/GeoExt.js"></script>
-    <script type="text/javascript" src="../../../lib/GeoExt.ux.GeoNamesSearchCombo/GeoNamesSearchCombo.js"></script>
+    <script type="text/javascript" src="../../../lib/GeoExt.ux.geonames/GeoNamesSearchCombo.js"></script>
 
     <script type="text/javascript">
         function test_ctor(t) {
@@ -16,12 +16,12 @@
 
             // test
 
-            c = new GeoExt.ux.GeoNamesSearchCombo({
+            c = new GeoExt.ux.geonames.GeoNamesSearchCombo({
                 renderTo: "GeoNamesSearch",
                 map: map
             });
-            t.ok(c instanceof GeoExt.ux.GeoNamesSearchCombo,
-                 "ctor creates a GeoExt.ux.GeoNamesSearchCombo object");
+            t.ok(c instanceof GeoExt.ux.geonames.GeoNamesSearchCombo,
+                 "ctor creates a GeoExt.ux.geonames.GeoNamesSearchCombo object");
             t.ok(c instanceof Ext.form.ComboBox,
                  "ctor creates an Ext.form.ComboBox object");
             t.ok(c.hasListener("select"),
@@ -30,7 +30,7 @@
                  "ctor sets map in instance");
             c.destroy();
 
-            c = new GeoExt.ux.GeoNamesSearchCombo({
+            c = new GeoExt.ux.geonames.GeoNamesSearchCombo({
                 renderTo: "GeoNamesSearch",
                 zoom: -1
             });

Modified: ux/geoext.ux/ux/GeoNamesSearchCombo/tests/list-tests.html
===================================================================
--- ux/geoext.ux/ux/GeoNamesSearchCombo/tests/list-tests.html	2010-01-28 07:42:29 UTC (rev 1833)
+++ ux/geoext.ux/ux/GeoNamesSearchCombo/tests/list-tests.html	2010-01-28 08:07:40 UTC (rev 1834)
@@ -1,3 +1,3 @@
 <ul id="testlist">
-  <li>../../geoext.ux/ux/GeoNamesSearchCombo/tests/lib/GeoExt.ux.GeoNamesSearchCombo/GeoNamesSearchCombo.html</li>
+  <li>../../geoext.ux/ux/GeoNamesSearchCombo/tests/lib/GeoExt.ux.geonames/GeoNamesSearchCombo.html</li>
 </ul>



More information about the Commits mailing list