Skip to content

Commit

Permalink
Add type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
llienher committed Jan 9, 2018
1 parent ba47927 commit 6b704fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contribs/gmf/src/directives/displayquerygrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,12 @@ gmf.DisplayquerygridController.prototype.hasOneWithTooManyResults_ = function()
return this.ngeoQueryResult.sources.some(source => source.tooManyResults);
};

/**
* Returns an escaped value.
* @param {string|number} value A value to escape.
* @returns {string|number} value An escaped valjue.
* @private
*/
gmf.DisplayquerygridController.prototype.escapeValue_ = function(value) {
if (Number.isInteger(value)) {
return value;
Expand Down

0 comments on commit 6b704fc

Please sign in to comment.