Skip to content

Commit 3dc5c77

Browse files
authored
Merge pull request OpenGeoscience#1091 from OpenGeoscience/fix-typos
Fix a few minor typos.
2 parents 7dd9526 + 37ea086 commit 3dc5c77

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

src/layer.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ var layer = function (arg) {
410410
/**
411411
* Get/Set if the layer has been initialized.
412412
*
413-
* @param {boolean} [val] If specified, update the intialized value.
413+
* @param {boolean} [val] If specified, update the initialized value.
414414
* Otherwise, return the current instance.
415415
* @returns {boolean|this} Either the initialized value or this.
416416
*/
@@ -448,9 +448,9 @@ var layer = function (arg) {
448448

449449
/**
450450
* Get or set the attribution html content that will displayed with the
451-
* layer. By default, nothing will be displayed. Note, this content
452-
* is **not** html escaped, so care should be taken when renderering
453-
* user provided content.
451+
* layer. By default, nothing will be displayed. Note, this content is
452+
* **not** html escaped, so care should be taken when rendering user provided
453+
* content.
454454
*
455455
* @param {string?} arg An html fragment
456456
* @returns {string|this} Chainable as a setter
@@ -606,7 +606,7 @@ var layer = function (arg) {
606606
/**
607607
* Get or set the current layer opacity. The opacity is in the range [0-1].
608608
* An opacity of 0 is not the same as setting `visible(false)`, as
609-
* interactions can still occurr with the layer.
609+
* interactions can still occur with the layer.
610610
*
611611
* @param {number} [opacity] If specified, set the opacity. Otherwise,
612612
* return the opacity.

src/svg/vectorFeature.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ var svg_vectorFeature = function (arg) {
259259
m_style.classes = ['svgVectorFeature'];
260260
m_style.visible = m_this.visible;
261261

262-
// Add markers to the defition list
262+
// Add markers to the definition list
263263
updateMarkers(data, s_style.strokeColor, s_style.strokeOpacity, s_style.originStyle, s_style.endStyle);
264264

265265
// pass to renderer to draw

src/tile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ var tile = function (spec) {
142142
};
143143

144144
/**
145-
* Return a unique string representation of the given tile useable as a
146-
* hash key. Possibly extend later to include url information to make
147-
* caches aware of the tile source.
145+
* Return a unique string representation of the given tile useble as a hash
146+
* key. Possibly extend later to include url information to make caches
147+
* aware of the tile source.
148148
*
149149
* @returns {string}
150150
*/

0 commit comments

Comments
 (0)