loleaflet/Makefile.am  |    4 +---
 loleaflet/js/global.js |    8 --------
 2 files changed, 1 insertion(+), 11 deletions(-)

New commits:
commit e81441f63bb19981fa5a47b0fd251a91a8b98c1f
Author:     Henry Castro <[email protected]>
AuthorDate: Tue Feb 12 09:56:45 2019 -0400
Commit:     Henry Castro <[email protected]>
CommitDate: Tue Mar 5 23:42:24 2019 -0400

    loleaflet: remove jquery-ui.js
    
    This library is not used, reduce bundle size
    
    Change-Id: I925ed1335a46f78ba74af55582261a86376d7aca

diff --git a/loleaflet/Makefile.am b/loleaflet/Makefile.am
index 81d8c4614..697877b67 100644
--- a/loleaflet/Makefile.am
+++ b/loleaflet/Makefile.am
@@ -212,8 +212,7 @@ LOLEAFLET_CSS =\
        $(builddir)/node_modules/vex-js/css/vex-theme-bottom-right-corner.css \
        $(builddir)/node_modules/smartmenus/dist/css/sm-core-css.css \
        $(builddir)/node_modules/smartmenus/dist/css/sm-simple/sm-simple.css \
-       $(srcdir)/css/menubar.css \
-       $(builddir)/node_modules/jquery-ui/themes/ui-lightness/jquery-ui.css
+       $(srcdir)/css/menubar.css
 
 LOLEAFLET_CSS_DST = $(foreach file,$(LOLEAFLET_CSS),$(builddir)/dist/$(notdir 
$(file)))
 LOLEAFLET_CSS_M4 = $(strip $(foreach file,$(LOLEAFLET_CSS),$(notdir $(file))))
@@ -232,7 +231,6 @@ NODE_MODULES_JS =\
        node_modules/jquery/dist/jquery.js \
        node_modules/jquery-mousewheel/jquery.mousewheel.js \
        node_modules/jquery-contextmenu/dist/jquery.contextMenu.js \
-       node_modules/jquery-ui/jquery-ui.js \
        node_modules/smartmenus/dist/jquery.smartmenus.js \
        node_modules/timeago/jquery.timeago.js \
        node_modules/timeago.js/dist/timeago.min.js \
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 + '=([^&#]*)');
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to