Skip to content

Commit

Permalink
Move filter condition to ngeox
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Kuenzli committed Dec 18, 2017
1 parent 583bbfc commit f425488
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 8 additions & 0 deletions options/ngeox.js
Original file line number Diff line number Diff line change
Expand Up @@ -2653,3 +2653,11 @@ ngeox.WfsPermalinkData;
* @typedef {function(string):!ngeo.print.Service}
*/
ngeox.CreatePrint;

/**
* @typedef {{
* text: (string),
* value: (string)
* }}
*/
ngeox.FilterCondition;
12 changes: 2 additions & 10 deletions src/filter/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ ngeo.filter.component.FilterController_ = class {
// === Inner properties ===

/**
* @type {Array.<!ngeo.filter.component.Condition>}
* @type {Array.<!ngeox.FilterCondition>}
* @export
*/
this.conditions = [
Expand Down Expand Up @@ -325,7 +325,7 @@ ngeo.filter.component.FilterController_ = class {


/**
* @param {!ngeo.filter.component.Condition} condition Condition to set.
* @param {!ngeox.FilterCondition} condition Condition to set.
* @export
*/
setCondition(condition) {
Expand Down Expand Up @@ -419,11 +419,3 @@ ngeo.filter.component.FilterController_ = class {
};

ngeo.filter.component.controller('ngeoFilterController', ngeo.filter.component.FilterController_);

/**
* @typedef {{
* text: (string),
* value: (string)
* }}
*/
ngeo.filter.component.Condition;

0 comments on commit f425488

Please sign in to comment.