Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

leaflet.fullscreen

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leaflet.fullscreen - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

26

Control.FullScreen.js
/*!
* Based on package 'screenfull'
* v5.1.0 - 2020-12-24
* v5.2.0 - 2021-11-03
* (c) Sindre Sorhus; MIT License

@@ -18,3 +18,3 @@ * Added definition for using screenfull as an amd module

}
}(this, function () {
}(typeof self !== 'undefined' ? self : this, function () {
'use strict';

@@ -202,3 +202,3 @@

}
}(this, function (leaflet, screenfull) {
}(typeof self !== 'undefined' ? self : this, function (leaflet, screenfull) {
'use strict';

@@ -243,14 +243,11 @@

leaflet.DomEvent
.off(this.link, 'click', leaflet.DomEvent.stopPropagation)
.off(this.link, 'click', leaflet.DomEvent.preventDefault)
.off(this.link, 'click', leaflet.DomEvent.stop)
.off(this.link, 'click', this.toggleFullScreen, this);
leaflet.DomEvent
.off(this._container, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.stopPropagation)
.off(this._container, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.preventDefault)
.off(this._container, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.stop)
.off(this._container, this._screenfull.raw.fullscreenchange, this._handleFullscreenChange, this);
leaflet.DomEvent
.off(document, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.stopPropagation)
.off(document, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.preventDefault)
.off(document, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.stop)
.off(document, this._screenfull.raw.fullscreenchange, this._handleFullscreenChange, this);

@@ -268,15 +265,14 @@ },

L.DomEvent.disableClickPropagation(container);
leaflet.DomEvent
.on(this.link, 'click', leaflet.DomEvent.stopPropagation)
.on(this.link, 'click', leaflet.DomEvent.preventDefault)
.on(this.link, 'click', leaflet.DomEvent.stop)
.on(this.link, 'click', fn, context);
leaflet.DomEvent
.on(container, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.stopPropagation)
.on(container, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.preventDefault)
.on(container, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.stop)
.on(container, this._screenfull.raw.fullscreenchange, this._handleFullscreenChange, context);
leaflet.DomEvent
.on(document, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.stopPropagation)
.on(document, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.preventDefault)
.on(document, this._screenfull.raw.fullscreenchange, leaflet.DomEvent.stop)
.on(document, this._screenfull.raw.fullscreenchange, this._handleFullscreenChange, context);

@@ -283,0 +279,0 @@

{
"name": "leaflet.fullscreen",
"version": "2.2.0",
"version": "2.3.0",
"description": "Simple plugin for Leaflet that adds fullscreen button to your maps.",

@@ -5,0 +5,0 @@ "main": "Control.FullScreen.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc