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

leaflet-mount

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leaflet-mount - npm Package Compare versions

Comparing version 0.0.0-alpha.2 to 0.0.0-alpha.3

dist/leaflet-mount.js

17

package.json
{
"name": "leaflet-mount",
"version": "0.0.0-alpha.2",
"version": "0.0.0-alpha.3",
"description": "Seamlessly, flexibly insert content into leaflet maps",

@@ -12,10 +12,15 @@ "main": "build/leaflet-mount.min.js",

"devDependencies": {
"uglify-js": "^2.7.4"
"del": "^2.2.2",
"gulp": "^3.9.1",
"gulp-concat": "^2.6.0",
"gulp-rename": "^1.2.2",
"gulp-uglify": "^2.0.0",
"gulp-watch": "^4.3.10",
"gulp-wrap": "^0.13.0"
},
"scripts": {
"build": " ./node_modules/.bin/uglifyjs src/core.js src/main.js src/extras.js -o build/leaflet-mount.min.js",
"prepublish": "npm run build",
"test": "echo \"no tests yet\"",
"dev": "echo \"no dev environment yet\""
"build": "./node_modules/.bin/gulp",
"prepublish": "./node_modules/.bin/gulp prepublish",
"dev": "./node_modules/.bin/gulp dev"
}
}

@@ -1,5 +0,1 @@

(function (window, document, undefined) {
"use strict";
L.Mount = {};

@@ -106,3 +102,3 @@

this._loading = true;
this._everyLoadChild(this._load, this);
this._everyLoadChild(this._addLoadChild, this);
},

@@ -112,3 +108,3 @@

this._loading = false;
this._everyLoadChild(this._unload, this);
this._everyLoadChild(this._removeLoadChild, this);
},

@@ -178,3 +174,1 @@

};
}(this, document));

@@ -1,8 +0,4 @@

(function (window, document, undefined) {
"use strict";
L.Mount.MountChild = L.Class.extend({
includes: [NestChild, LoadChild],
includes: [L.Mount.NestChild, L.Mount.LoadChild],

@@ -22,3 +18,3 @@ addTo: function (parent) {

includes: [NestParent, LoadParent],
includes: [L.Mount.NestParent, L.Mount.LoadParent],

@@ -43,22 +39,20 @@ options: {

L.GroupMount = L.Class.extend({
includes: [MountParent]
includes: [L.Mount.MountParent]
});
L.CustomMount = MountChild.extend({
includes: [MountParent]
L.CustomMount = L.Mount.MountChild.extend({
includes: [L.Mount.MountParent]
});
L.Map
.include(base.LoadParent)
.include(base.NestParent)
.mergeOptions({
mountCSSName: "leaflet-mount-root"
})
.addInitHook(function(){
this._startLoading();
this._mountElement =
L.DomUtil.create("div", this.options.mountCSSName, this._container);
this.on("unload", this._unloadMounts, this)
});
}(this, document));
.include(L.Mount.LoadParent)
.include(L.Mount.NestParent)
.mergeOptions({
mountCSSName: "leaflet-mount-root"
})
.addInitHook(function(){
this._startLoading();
this._mountElement =
L.DomUtil.create("div", this.options.mountCSSName, this._container);
this.on("unload", this._startUnloading, this)
});

Sorry, the diff of this file is not supported yet

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