Skip to content

Commit

Permalink
Rename bboxQueryDirective -> bboxQueryComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Kuenzli committed Dec 19, 2017
1 parent bd337d9 commit 36fd118
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion contribs/gmf/examples/displayquerygrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ goog.require('gmf.mapDirective');
/** @suppress {extraRequire} */
goog.require('ngeo.proj.EPSG21781');
/** @suppress {extraRequire} */
goog.require('ngeo.query.bboxQueryDirective');
goog.require('ngeo.query.bboxQueryComponent');
/** @suppress {extraRequire} */
goog.require('ngeo.btnDirective');
/** @suppress {extraRequire} */
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 @@ -11,7 +11,7 @@ goog.require('gmf.mapDirective');
/** @suppress {extraRequire} */
goog.require('ngeo.proj.EPSG21781');
/** @suppress {extraRequire} */
goog.require('ngeo.query.bboxQueryDirective');
goog.require('ngeo.query.bboxQueryComponent');
/** @suppress {extraRequire} */
goog.require('ngeo.btnDirective');
/** @suppress {extraRequire} */
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 @@ -15,7 +15,7 @@ goog.require('gmf.layertreeComponent');
/** @suppress {extraRequire} */
goog.require('gmf.mapDirective');
/** @suppress {extraRequire} */
goog.require('ngeo.query.bboxQueryDirective');
goog.require('ngeo.query.bboxQueryComponent');
/** @suppress {extraRequire} */
goog.require('ngeo.query.mapQueryDirective');
goog.require('ngeo.ToolActivate');
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 @@ -13,7 +13,7 @@ goog.require('gmf.layertreeComponent');
/** @suppress {extraRequire} */
goog.require('gmf.mapDirective');
/** @suppress {extraRequire} */
goog.require('ngeo.query.bboxQueryDirective');
goog.require('ngeo.query.bboxQueryComponent');
/** @suppress {extraRequire} */
goog.require('ngeo.query.mapQueryDirective');
/** @suppress {extraRequire} */
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/src/controllers/AbstractDesktopController.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ goog.provide('gmf.AbstractDesktopController');
goog.require('gmf');
goog.require('gmf.AbstractAppController');
/** @suppress {extraRequire} */
goog.require('ngeo.query.bboxQueryDirective');
goog.require('ngeo.query.bboxQueryComponent');
/** @suppress {extraRequire} */
goog.require('gmf.contextualdataDirective');
/** @suppress {extraRequire} */
Expand Down
2 changes: 1 addition & 1 deletion examples/bboxquery.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</div>

<p id="desc">
This example shows how to use the <code><a href="../apidoc/ngeo.query.bboxQueryDirective.html" title="Read our documentation">ngeo-mobile-query</a></code>
This example shows how to use the <code><a href="../apidoc/ngeo.query.bboxQueryComponent.html" title="Read our documentation">ngeo-mobile-query</a></code>
directive. Press <code>Ctrl</code> (or <code>Cmd</code> on Mac) and draw a query bbox on the map.
</p>

Expand Down
10 changes: 5 additions & 5 deletions src/query/bboxquerycomponent.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
goog.provide('ngeo.query.bboxQueryDirective');
goog.provide('ngeo.query.bboxQueryComponent');

goog.require('ngeo');
/** @suppress {extraRequire} */
Expand Down Expand Up @@ -36,7 +36,7 @@ goog.require('ol.events.condition');
* @ngdoc directive
* @ngname ngeoBboxQuery
*/
ngeo.query.bboxQueryDirective = function(ngeoMapQuerent) {
ngeo.query.bboxQueryComponent = function(ngeoMapQuerent) {
return {
restrict: 'A',
scope: false,
Expand Down Expand Up @@ -84,10 +84,10 @@ ngeo.query.bboxQueryDirective = function(ngeoMapQuerent) {
};
};

ngeo.query.bboxQueryDirective.module = angular.module('ngeoBboxQuery', [
ngeo.query.bboxQueryComponent.module = angular.module('ngeoBboxQuery', [
ngeo.query.MapQuerent.module.name,
]);

ngeo.module.requires.push(ngeo.query.bboxQueryDirective.module.name);
ngeo.module.requires.push(ngeo.query.bboxQueryComponent.module.name);

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

/**
* @type {angular.Module}
Expand All @@ -16,5 +16,5 @@ ngeo.query.module = angular.module('ngeoQueryModule', [
ngeo.query.Querent.module.name,
ngeo.query.MapQuerent.module.name,
ngeo.query.mapQueryDirective.module.name,
ngeo.query.bboxQueryDirective.module.name,
ngeo.query.bboxQueryComponent.module.name,
]);

0 comments on commit 36fd118

Please sign in to comment.