summaryrefslogtreecommitdiffstats
path: root/debian/missing-sources/leaflet.js/Leaflet.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/missing-sources/leaflet.js/Leaflet.js38
1 files changed, 38 insertions, 0 deletions
diff --git a/debian/missing-sources/leaflet.js/Leaflet.js b/debian/missing-sources/leaflet.js/Leaflet.js
new file mode 100644
index 0000000..1337f07
--- /dev/null
+++ b/debian/missing-sources/leaflet.js/Leaflet.js
@@ -0,0 +1,38 @@
+
+import {version} from '../package.json';
+export {version};
+
+// control
+export * from './control/index';
+
+// core
+export * from './core/index';
+
+// dom
+export * from './dom/index';
+
+// geometry
+export * from './geometry/index';
+
+// geo
+export * from './geo/index';
+
+// layer
+export * from './layer/index';
+
+// map
+export * from './map/index';
+
+// misc
+
+var oldL = window.L;
+export function noConflict() {
+ window.L = oldL;
+ return this;
+}
+
+// Always export us to window global (see #2364)
+window.L = exports;
+
+import {freeze} from './core/Util';
+Object.freeze = freeze;