Docs(Popup+Tooltip): fix typo in bindPopup & bindTooltip (#5578)

methods description.
This commit is contained in:
ghybs 2017-06-27 16:17:24 +04:00 committed by Per Liedman
parent f59d20d583
commit 4a0bfb6e5e
2 changed files with 2 additions and 2 deletions

View File

@ -365,7 +365,7 @@ Layer.include({
// @method bindPopup(content: String|HTMLElement|Function|Popup, options?: Popup options): this
// Binds a popup to the layer with the passed `content` and sets up the
// neccessary event listeners. If a `Function` is passed it will receive
// necessary event listeners. If a `Function` is passed it will receive
// the layer as the first argument and should return a `String` or `HTMLElement`.
bindPopup: function (content, options) {

View File

@ -250,7 +250,7 @@ Layer.include({
// @method bindTooltip(content: String|HTMLElement|Function|Tooltip, options?: Tooltip options): this
// Binds a tooltip to the layer with the passed `content` and sets up the
// neccessary event listeners. If a `Function` is passed it will receive
// necessary event listeners. If a `Function` is passed it will receive
// the layer as the first argument and should return a `String` or `HTMLElement`.
bindTooltip: function (content, options) {