Merge pull request #7974 from fredj/cleanup

Fix spelling
This commit is contained in:
Frédéric Junod
2018-03-12 16:10:22 +01:00
committed by GitHub
11 changed files with 12 additions and 12 deletions

View File

@@ -344,7 +344,7 @@ View.prototype.applyOptions_ = function(options) {
/**
* Get an updated version of the view options used to construct the view. The
* current resolution (or zoom), center, and rotation are applied to any stored
* options. The provided options can be uesd to apply new min/max zoom or
* options. The provided options can be used to apply new min/max zoom or
* resolution limits.
* @param {module:ol/View~ViewOptions} newOptions New options to be applied.
* @return {module:ol/View~ViewOptions} New options updated with the current view state.

View File

@@ -1862,7 +1862,7 @@ KML.prototype.readFeaturesFromNode = function(node, opt_options) {
/**
* Read the name of the KML.
*
* @param {Document|Node|string} source Souce.
* @param {Document|Node|string} source Source.
* @return {string|undefined} Name.
* @api
*/

View File

@@ -203,7 +203,7 @@ function readRawFeature(pbf, layer, i) {
/**
* Read the raw geometry from the pbf offset stored in a raw feature's geometry
* proeprty.
* property.
* @suppress {missingProperties}
* @param {ol.ext.PBF} pbf PBF.
* @param {Object} feature Raw feature.

View File

@@ -284,7 +284,7 @@ inherits(Modify, PointerInteraction);
/**
* The segment index assigned to a circle's center when
* breaking up a cicrle into ModifySegmentDataType segments.
* breaking up a circle into ModifySegmentDataType segments.
* @type {number}
*/
const CIRCLE_CENTER_INDEX = 0;

View File

@@ -207,7 +207,7 @@ export function handleEvent(mapBrowserEvent) {
*
* The method receives the return code of the "handleDownEvent" function.
*
* By default this function is the "identity" function. It's overidden in
* By default this function is the "identity" function. It's overridden in
* child classes.
*
* @param {boolean} handled Was the event handled by the interaction?

View File

@@ -253,7 +253,7 @@ ol.PreRenderFunction;
/**
* A function that takes an array of input data, performs some operation, and
* returns an array of ouput data.
* returns an array of output data.
* For `pixel` type operations, the function will be called with an array of
* pixels, where each pixel is an array of four numbers (`[r, g, b, a]`) in the
* range of 0 - 255. It should return a single pixel array.

View File

@@ -241,7 +241,7 @@ WebGLContext.prototype.getProgram = function(fragmentShaderObject, vertexShaderO
/**
* FIXME empy description for jsdoc
* FIXME empty description for jsdoc
*/
WebGLContext.prototype.handleWebGLContextLost = function() {
clear(this.bufferCache_);
@@ -255,7 +255,7 @@ WebGLContext.prototype.handleWebGLContextLost = function() {
/**
* FIXME empy description for jsdoc
* FIXME empty description for jsdoc
*/
WebGLContext.prototype.handleWebGLContextRestored = function() {
};