[Commits] r1830 - in ux/geoext.ux/ux/GeoNamesSearchCombo: examples lib/GeoExt.ux.GeoNamesSearchCombo/widgets/form tests/lib/GeoExt.ux.GeoNamesSearchCombo/widgets/form

commits at geoext.org commits at geoext.org
Wed Jan 27 20:01:14 CET 2010


Author: bbinet
Date: 2010-01-27 20:01:14 +0100 (Wed, 27 Jan 2010)
New Revision: 1830

Modified:
   ux/geoext.ux/ux/GeoNamesSearchCombo/examples/GeoNamesSearchComboExample.js
   ux/geoext.ux/ux/GeoNamesSearchCombo/lib/GeoExt.ux.GeoNamesSearchCombo/widgets/form/GeoNamesSearchCombo.js
   ux/geoext.ux/ux/GeoNamesSearchCombo/tests/lib/GeoExt.ux.GeoNamesSearchCombo/widgets/form/GeoNamesSearchCombo.html
Log:
change namespace of GeoNamesSearchCombo to GeoExt.ux.GeoNamesSearchCombo

Modified: ux/geoext.ux/ux/GeoNamesSearchCombo/examples/GeoNamesSearchComboExample.js
===================================================================
--- ux/geoext.ux/ux/GeoNamesSearchCombo/examples/GeoNamesSearchComboExample.js	2010-01-27 18:29:49 UTC (rev 1829)
+++ ux/geoext.ux/ux/GeoNamesSearchCombo/examples/GeoNamesSearchComboExample.js	2010-01-27 19:01:14 UTC (rev 1830)
@@ -19,11 +19,11 @@
     var layer = new OpenLayers.Layer.OSM("OSM");
     map.addLayer(layer);
 
-    var geoNameSearchCombo = new GeoExt.ux.form.GeoNamesSearchCombo({
+    var geoNameSearchCombo = new GeoExt.ux.GeoNamesSearchCombo({
        map: map, zoom: 12
     });
 
-    new GeoExt.ux.form.GeoNamesSearchCombo({
+    new GeoExt.ux.GeoNamesSearchCombo({
        map: map,
        zoom: 8,
        renderTo: 'GeoNamesSearch'

Modified: ux/geoext.ux/ux/GeoNamesSearchCombo/lib/GeoExt.ux.GeoNamesSearchCombo/widgets/form/GeoNamesSearchCombo.js
===================================================================
--- ux/geoext.ux/ux/GeoNamesSearchCombo/lib/GeoExt.ux.GeoNamesSearchCombo/widgets/form/GeoNamesSearchCombo.js	2010-01-27 18:29:49 UTC (rev 1829)
+++ ux/geoext.ux/ux/GeoNamesSearchCombo/lib/GeoExt.ux.GeoNamesSearchCombo/widgets/form/GeoNamesSearchCombo.js	2010-01-27 19:01:14 UTC (rev 1830)
@@ -12,9 +12,9 @@
  *  base_link = `Ext.form.ComboBox <http://extjs.com/deploy/dev/docs/?class=Ext.form.ComboBox>`_
  */
 
-Ext.namespace("GeoExt.ux.form");
+Ext.namespace("GeoExt.ux");
 
-GeoExt.ux.form.GeoNamesSearchCombo = Ext.extend(Ext.form.ComboBox, {
+GeoExt.ux.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.form.GeoNamesSearchCombo.superclass.initComponent.apply(this, arguments);
+        GeoExt.ux.GeoNamesSearchCombo.superclass.initComponent.apply(this, arguments);
 
         var urlAppendString = '';
 
@@ -312,4 +312,4 @@
 });
 
 /** api: xtype = gxux_geonamessearchcombo */
-Ext.reg('gxux_geonamessearchcombo', GeoExt.ux.form.GeoNamesSearchCombo);
+Ext.reg('gxux_geonamessearchcombo', GeoExt.ux.GeoNamesSearchCombo);

Modified: ux/geoext.ux/ux/GeoNamesSearchCombo/tests/lib/GeoExt.ux.GeoNamesSearchCombo/widgets/form/GeoNamesSearchCombo.html
===================================================================
--- ux/geoext.ux/ux/GeoNamesSearchCombo/tests/lib/GeoExt.ux.GeoNamesSearchCombo/widgets/form/GeoNamesSearchCombo.html	2010-01-27 18:29:49 UTC (rev 1829)
+++ ux/geoext.ux/ux/GeoNamesSearchCombo/tests/lib/GeoExt.ux.GeoNamesSearchCombo/widgets/form/GeoNamesSearchCombo.html	2010-01-27 19:01:14 UTC (rev 1830)
@@ -16,12 +16,12 @@
 
             // test
 
-            c = new GeoExt.ux.form.GeoNamesSearchCombo({
+            c = new GeoExt.ux.GeoNamesSearchCombo({
                 renderTo: "GeoNamesSearch",
                 map: map
             });
-            t.ok(c instanceof GeoExt.ux.form.GeoNamesSearchCombo,
-                 "ctor creates a GeoExt.ux.form.GeoNamesSearchCombo object");
+            t.ok(c instanceof GeoExt.ux.GeoNamesSearchCombo,
+                 "ctor creates a GeoExt.ux.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.form.GeoNamesSearchCombo({
+            c = new GeoExt.ux.GeoNamesSearchCombo({
                 renderTo: "GeoNamesSearch",
                 zoom: -1
             });



More information about the Commits mailing list