Skip to content

Commit

Permalink
Rename mapQueryDirective -> mapQueryComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Kuenzli committed Dec 19, 2017
1 parent 36fd118 commit cb33299
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion contribs/gmf/examples/displayquerygrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ goog.require('ngeo.query.bboxQueryComponent');
/** @suppress {extraRequire} */
goog.require('ngeo.btnDirective');
/** @suppress {extraRequire} */
goog.require('ngeo.query.mapQueryDirective');
goog.require('ngeo.query.mapQueryComponent');
goog.require('ol.Map');
goog.require('ol.View');
goog.require('ol.layer.Tile');
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/examples/displayquerywindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ goog.require('ngeo.query.bboxQueryComponent');
/** @suppress {extraRequire} */
goog.require('ngeo.btnDirective');
/** @suppress {extraRequire} */
goog.require('ngeo.query.mapQueryDirective');
goog.require('ngeo.query.mapQueryComponent');
goog.require('ol.Map');
goog.require('ol.View');
goog.require('ol.layer.Tile');
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/examples/filterselector.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ goog.require('gmf.mapDirective');
/** @suppress {extraRequire} */
goog.require('ngeo.query.bboxQueryComponent');
/** @suppress {extraRequire} */
goog.require('ngeo.query.mapQueryDirective');
goog.require('ngeo.query.mapQueryComponent');
goog.require('ngeo.ToolActivate');
goog.require('ngeo.ToolActivateMgr');
/** @suppress {extraRequire} */
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/examples/importdatasource.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ goog.require('gmf.mapDirective');
/** @suppress {extraRequire} */
goog.require('ngeo.query.bboxQueryComponent');
/** @suppress {extraRequire} */
goog.require('ngeo.query.mapQueryDirective');
goog.require('ngeo.query.mapQueryComponent');
/** @suppress {extraRequire} */
goog.require('ngeo.proj.EPSG21781');
goog.require('ol.Map');
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/src/controllers/AbstractAppController.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ goog.require('gmf.themeselectorComponent');
/** @suppress {extraRequire} */
goog.require('ngeo.filters');
/** @suppress {extraRequire} */
goog.require('ngeo.query.mapQueryDirective');
goog.require('ngeo.query.mapQueryComponent');
goog.require('ngeo.GetBrowserLanguage');
/** @suppress {extraRequire} */
goog.require('ngeo.query.MapQuerent');
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/src/controllers/AbstractMobileController.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ goog.require('gmf.mobileNavDirective');
/** @suppress {extraRequire} */
goog.require('ngeo.btnDirective');
/** @suppress {extraRequire} */
goog.require('ngeo.query.mapQueryDirective');
goog.require('ngeo.query.mapQueryComponent');
goog.require('ol.Map');
goog.require('ol.View');
goog.require('ol.control.ScaleLine');
Expand Down
2 changes: 1 addition & 1 deletion examples/mapquery.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</div>

<p id="desc">
This example shows how to use the <code><a href="../apidoc/ngeo.query.mapQueryDirective.html" title="Read our documentation">ngeo-map-query</a></code>
This example shows how to use the <code><a href="../apidoc/ngeo.query.mapQueryComponent.html" title="Read our documentation">ngeo-map-query</a></code>
directive. It also shows how the <code><a href="../apidoc/ngeo.ToolActivateMgr.html" title="Read our documentation">ngeo.ToolActivate</a></code> can be
used to make the directive inactive when an other tool becomes active.
The "Dummy" button here does nothing, but when toggled the query
Expand Down
2 changes: 1 addition & 1 deletion examples/mapquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ goog.require('ngeo.ToolActivateMgr');
/** @suppress {extraRequire} */
goog.require('ngeo.btnDirective');
/** @suppress {extraRequire} */
goog.require('ngeo.query.mapQueryDirective');
goog.require('ngeo.query.mapQueryComponent');
goog.require('ol.Map');
goog.require('ol.View');
goog.require('ol.layer.Image');
Expand Down
10 changes: 5 additions & 5 deletions src/query/mapquerycomponent.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
goog.provide('ngeo.query.mapQueryDirective');
goog.provide('ngeo.query.mapQueryComponent');

goog.require('ngeo');
/** @suppress {extraRequire} */
Expand Down Expand Up @@ -35,7 +35,7 @@ goog.require('ol.events');
* @ngdoc directive
* @ngname ngeoMapQuery
*/
ngeo.query.mapQueryDirective = function(ngeoMapQuerent, $injector) {
ngeo.query.mapQueryComponent = function(ngeoMapQuerent, $injector) {
return {
restrict: 'A',
scope: false,
Expand Down Expand Up @@ -121,10 +121,10 @@ ngeo.query.mapQueryDirective = function(ngeoMapQuerent, $injector) {
};


ngeo.query.mapQueryDirective.module = angular.module('ngeoMapQuery', [
ngeo.query.mapQueryComponent.module = angular.module('ngeoMapQuery', [
ngeo.query.MapQuerent.module.name,
]);

ngeo.module.requires.push(ngeo.query.mapQueryDirective.module.name);
ngeo.module.requires.push(ngeo.query.mapQueryComponent.module.name);

ngeo.query.mapQueryDirective.module.directive('ngeoMapQuery', ngeo.query.mapQueryDirective);
ngeo.query.mapQueryComponent.module.directive('ngeoMapQuery', ngeo.query.mapQueryComponent);
4 changes: 2 additions & 2 deletions src/query/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ goog.require('ngeo');
goog.require('ngeo.query.Service');
goog.require('ngeo.query.Querent');
goog.require('ngeo.query.MapQuerent');
goog.require('ngeo.query.mapQueryDirective');
goog.require('ngeo.query.mapQueryComponent');
goog.require('ngeo.query.bboxQueryComponent');

/**
Expand All @@ -15,6 +15,6 @@ ngeo.query.module = angular.module('ngeoQueryModule', [
ngeo.query.Service.module.name,
ngeo.query.Querent.module.name,
ngeo.query.MapQuerent.module.name,
ngeo.query.mapQueryDirective.module.name,
ngeo.query.mapQueryComponent.module.name,
ngeo.query.bboxQueryComponent.module.name,
]);

0 comments on commit cb33299

Please sign in to comment.