summaryrefslogtreecommitdiff
path: root/loleaflet/js/global.js
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2019-02-12 09:56:45 -0400
committerHenry Castro <hcastro@collabora.com>2019-03-05 23:42:24 -0400
commite81441f63bb19981fa5a47b0fd251a91a8b98c1f (patch)
tree848477953150568d758cbffdef14446f44e456af /loleaflet/js/global.js
parent4a31a3beac9892d98138af8a9446025587293891 (diff)
loleaflet: remove jquery-ui.js
This library is not used, reduce bundle size Change-Id: I925ed1335a46f78ba74af55582261a86376d7aca
Diffstat (limited to 'loleaflet/js/global.js')
-rw-r--r--loleaflet/js/global.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/loleaflet/js/global.js b/loleaflet/js/global.js
index b6b1c7bd4..ea2933d73 100644
--- a/loleaflet/js/global.js
+++ b/loleaflet/js/global.js
@@ -11,14 +11,6 @@
}
}
- // fix jquery-ui
- // var jQuery = require('jquery');
- global.require = function (path) {
- if (path=='jquery') {
- return global.jQuery;
- }
- };
-
global.getParameterByName = function (name) {
name = name.replace(/[\[]/, '\\[').replace(/[\]]/, '\\]');
var regex = new RegExp('[\\?&]' + name + '=([^&#]*)');