From 4a0bfb6e5e5d4bce10074c43234e57c178d88480 Mon Sep 17 00:00:00 2001 From: ghybs Date: Tue, 27 Jun 2017 16:17:24 +0400 Subject: [PATCH] Docs(Popup+Tooltip): fix typo in bindPopup & bindTooltip (#5578) methods description. --- src/layer/Popup.js | 2 +- src/layer/Tooltip.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layer/Popup.js b/src/layer/Popup.js index da52d693..735765bb 100644 --- a/src/layer/Popup.js +++ b/src/layer/Popup.js @@ -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) { diff --git a/src/layer/Tooltip.js b/src/layer/Tooltip.js index e148369c..f0725e92 100644 --- a/src/layer/Tooltip.js +++ b/src/layer/Tooltip.js @@ -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) {