From c5c8fb4bc2404c721d26a5f9612667c78563905b Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Tue, 27 Dec 2022 12:28:44 +0100 Subject: [PATCH] Remove `noConflict()` (#8753) --- build/docs-misc.leafdoc | 20 -------------------- build/leafdoc-templates/html.hbs | 3 +-- spec/index.html | 6 ------ spec/suites/core/GeneralSpec.js | 7 ------- src/LeafletWithGlobals.js | 13 ++----------- 5 files changed, 3 insertions(+), 46 deletions(-) diff --git a/build/docs-misc.leafdoc b/build/docs-misc.leafdoc index a9082c405..812255e33 100644 --- a/build/docs-misc.leafdoc +++ b/build/docs-misc.leafdoc @@ -20,26 +20,6 @@ before including Leaflet on the page, like this: | `L_DISABLE_3D` | Forces Leaflet to not use hardware-accelerated CSS 3D transforms for positioning (which may cause glitches in some rare environments) even if they're supported. | -@namespace noConflict - -This method restores the `L` global variable to the original value -it had before Leaflet inclusion, and returns the real Leaflet -namespace so you can put it elsewhere, like this: - -```html - -``` - - @namespace version A constant that represents the Leaflet version in use. diff --git a/build/leafdoc-templates/html.hbs b/build/leafdoc-templates/html.hbs index 2219ceb6e..73a7071e9 100644 --- a/build/leafdoc-templates/html.hbs +++ b/build/leafdoc-templates/html.hbs @@ -119,8 +119,7 @@ bodyclass: api-page

Misc

diff --git a/spec/index.html b/spec/index.html index b9fe531d3..c94d95e6e 100644 --- a/spec/index.html +++ b/spec/index.html @@ -25,12 +25,6 @@