Skip to content

Commit

Permalink
Fix spell
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Oct 29, 2019
1 parent 4a2644d commit 270df5e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions contribs/gmf/src/datasource/Manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ export class DatasourceManager {
}

// (9) Common options
const copyable = meta.copyable;
const copiable = meta.copiable;
const identifierAttribute = meta.identifierAttributeField;
const name = gmfLayer.name;
const timeAttributeName = meta.timeAttribute;
Expand All @@ -600,7 +600,7 @@ export class DatasourceManager {

/** @type {import('./OGC').OGCOptions} */
const options = {
copyable,
copiable,
dimensionsConfig,
dimensionsFiltersConfig,
gmfLayer,
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/src/datasource/OGC.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import ngeoDatasourceOGC from 'ngeo/datasource/OGC.js';
* Extends (ngeo/datasource/OGC.js).OGCOptions
* @property {import('ngeo/datasource/OGC.js').Dimensions} [activeDimensions] The dimensions that are
* currently active on the data source.
* @property {boolean} [copyable] Whether the geometry from this data source can be copied to other data
* @property {boolean} [copiable] Whether the geometry from this data source can be copied to other data
* sources or not. Defaults to `false`.
* @property {import('ngeo/datasource/OGC.js').Dimensions} [dimensions] A reference to the dimensions.
* @property {import('ngeo/datasource/OGC.js').Dimensions} [dimensionsConfig] The dimensions configuration,
Expand Down
6 changes: 3 additions & 3 deletions contribs/gmf/src/import/importdatasourceComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -423,9 +423,9 @@ class Controller {
* - _visible: true if searchText is empty or searchText is found in
* layer.Title or in any of its ancestors or in any of its descendants.
* - _expanded: true if searchText is found in any of its descendants.
* - _searchPrefix: subtring before searchText in layer.Title.
* - _searchMatch: subtring matching searchText in layer.Title.
* - _searchSuffix: subtring after searchText in layer.Title.
* - _searchPrefix: substring before searchText in layer.Title.
* - _searchMatch: substring matching searchText in layer.Title.
* - _searchSuffix: substring after searchText in layer.Title.
* @param {Object} layer WMS Capability Layer object.
* @param {boolean} visible Force layer to be visible.
*/
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/src/objectediting/Query.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ ObjectEditingQuery.prototype.getQueryableLayersInfo = function() {
// Narrow down to only those that have the 'copyable' metadata set
const queryableLayersInfo = [];
for (let i = 0, ii = allQueryableLayersInfo.length; i < ii; i++) {
if (allQueryableLayersInfo[i].layerNode.metadata.copyable) {
if (allQueryableLayersInfo[i].layerNode.metadata.copiable) {
queryableLayersInfo.push(allQueryableLayersInfo[i]);
}
}
Expand Down
10 changes: 5 additions & 5 deletions src/datasource/OGC.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const WMSInfoFormat = {
* extends DataSourceOptions
* @typedef {Object} OGCOptions
* @property {Dimensions} [activeDimensions] The dimensions that are currently active on the data source.
* @property {boolean} [copyable] Whether the geometry from this data source can be copied to other data
* @property {boolean} [copiable] Whether the geometry from this data source can be copied to other data
* sources or not. Defaults to `false`.
* @property {Dimensions} [dimensions] A reference to the dimensions.
* @property {Dimensions} [dimensionsConfig] The dimensions configuration, which determines those supported
Expand Down Expand Up @@ -267,7 +267,7 @@ class OGC extends ngeoDatasourceDataSource {
* @type {boolean}
* @private
*/
this.copyable_ = options.copyable === true;
this.copiable_ = options.copiable === true;

/**
* A reference to the dimensions object.
Expand Down Expand Up @@ -588,10 +588,10 @@ class OGC extends ngeoDatasourceDataSource {
}

/**
* @return {boolean} Copyable
* @return {boolean} copiable
*/
get copyable() {
return this.copyable_;
get copiable() {
return this.copiable_;
}

/**
Expand Down

0 comments on commit 270df5e

Please sign in to comment.