diff --git a/src/layer.js b/src/layer.js index c949f7e5a5..c51e652ee7 100644 --- a/src/layer.js +++ b/src/layer.js @@ -410,7 +410,7 @@ var layer = function (arg) { /** * Get/Set if the layer has been initialized. * - * @param {boolean} [val] If specified, update the intialized value. + * @param {boolean} [val] If specified, update the initialized value. * Otherwise, return the current instance. * @returns {boolean|this} Either the initialized value or this. */ @@ -448,9 +448,9 @@ var layer = function (arg) { /** * Get or set the attribution html content that will displayed with the - * layer. By default, nothing will be displayed. Note, this content - * is **not** html escaped, so care should be taken when renderering - * user provided content. + * layer. By default, nothing will be displayed. Note, this content is + * **not** html escaped, so care should be taken when rendering user provided + * content. * * @param {string?} arg An html fragment * @returns {string|this} Chainable as a setter @@ -606,7 +606,7 @@ var layer = function (arg) { /** * Get or set the current layer opacity. The opacity is in the range [0-1]. * An opacity of 0 is not the same as setting `visible(false)`, as - * interactions can still occurr with the layer. + * interactions can still occur with the layer. * * @param {number} [opacity] If specified, set the opacity. Otherwise, * return the opacity. diff --git a/src/svg/vectorFeature.js b/src/svg/vectorFeature.js index c003265b35..5d249818ff 100644 --- a/src/svg/vectorFeature.js +++ b/src/svg/vectorFeature.js @@ -259,7 +259,7 @@ var svg_vectorFeature = function (arg) { m_style.classes = ['svgVectorFeature']; m_style.visible = m_this.visible; - // Add markers to the defition list + // Add markers to the definition list updateMarkers(data, s_style.strokeColor, s_style.strokeOpacity, s_style.originStyle, s_style.endStyle); // pass to renderer to draw diff --git a/src/tile.js b/src/tile.js index 229bdaef15..531d003082 100644 --- a/src/tile.js +++ b/src/tile.js @@ -142,9 +142,9 @@ var tile = function (spec) { }; /** - * Return a unique string representation of the given tile useable as a - * hash key. Possibly extend later to include url information to make - * caches aware of the tile source. + * Return a unique string representation of the given tile useble as a hash + * key. Possibly extend later to include url information to make caches + * aware of the tile source. * * @returns {string} */