Move the malihu-custom-scrollbar-plugin js and css into our tree for hacking
I plan to add some hacks into it to fix the horrible jumping around after touch-based interaction, specifically for the iOS app. Change-Id: Ia6cfbfe7f487b52ba7652e49eb3fdb59af0c82ae
This commit is contained in:
parent
5799450024
commit
393c8ff278
7 changed files with 3699 additions and 12 deletions
|
@ -2,3 +2,6 @@
|
|||
**/js/w2ui-1.5.rc1.js
|
||||
**/src/unocommands.js
|
||||
**/src/vcl.js
|
||||
#
|
||||
# This is way too ugly for eslint...
|
||||
**/js/jquery.mCustomScrollbar.js
|
||||
|
|
|
@ -71,8 +71,8 @@ LOLEAFLET_CSS =\
|
|||
$(srcdir)/css/searchControl.css \
|
||||
$(srcdir)/css/spreadsheet.css \
|
||||
$(srcdir)/css/editor.css \
|
||||
$(srcdir)/css/jquery.mCustomScrollbar.css \
|
||||
$(srcdir)/plugins/draw-$(DRAW_VERSION)/dist/leaflet.draw.css \
|
||||
$(builddir)/node_modules/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.css \
|
||||
$(builddir)/node_modules/jquery-contextmenu/dist/jquery.contextMenu.css \
|
||||
$(builddir)/node_modules/vex-js/css/vex.css \
|
||||
$(builddir)/node_modules/vex-js/css/vex-theme-plain.css \
|
||||
|
@ -98,7 +98,6 @@ NODE_MODULES_JS =\
|
|||
node_modules/autolinker/dist/Autolinker.js \
|
||||
node_modules/json-js/json2.js \
|
||||
node_modules/select2/dist/js/select2.js \
|
||||
node_modules/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.js \
|
||||
node_modules/vex-js/js/vex.js \
|
||||
node_modules/vex-js/js/vex.dialog.js
|
||||
|
||||
|
@ -118,6 +117,7 @@ GLOBAL_JS =\
|
|||
LOLEAFLET_JS = $(strip $(shell NODE_PATH=$(abs_builddir)/node_modules $(NODE) -e "try {console.log(require('$(1)').getFiles().join(' '))} catch(e) {}"))
|
||||
|
||||
PLUGINS_JS =\
|
||||
jquery.mCustomScrollbar.js \
|
||||
w2ui-1.5.rc1.js \
|
||||
toolbar.js \
|
||||
main.js
|
||||
|
@ -201,6 +201,7 @@ $(builddir)/dist/bundle.css: $(LOLEAFLET_CSS)
|
|||
$(builddir)/dist/bundle.js: $(NODE_MODULES_JS_SRC) \
|
||||
$(LOLEAFLET_PREFIX)/dist/loleaflet-src.js \
|
||||
$(srcdir)/js/global.js \
|
||||
$(srcdir)/js/jquery.mCustomScrollbar.js \
|
||||
$(srcdir)/js/w2ui-1.5.rc1.js \
|
||||
$(srcdir)/js/toolbar.js \
|
||||
$(srcdir)/js/main.js
|
||||
|
@ -209,6 +210,7 @@ $(builddir)/dist/bundle.js: $(NODE_MODULES_JS_SRC) \
|
|||
$(srcdir)/js/global.js \
|
||||
$(L10N_IOS_ALL_JS) \
|
||||
$(NODE_MODULES_JS) \
|
||||
$(srcdir)/js/jquery.mCustomScrollbar.js \
|
||||
$(srcdir)/js/w2ui-1.5.rc1.js \
|
||||
$(builddir)/build/dist/loleaflet-src.js \
|
||||
$(srcdir)/js/toolbar.js \
|
||||
|
|
1267
loleaflet/css/jquery.mCustomScrollbar.css
Normal file
1267
loleaflet/css/jquery.mCustomScrollbar.css
Normal file
File diff suppressed because it is too large
Load diff
2425
loleaflet/js/jquery.mCustomScrollbar.js
Normal file
2425
loleaflet/js/jquery.mCustomScrollbar.js
Normal file
File diff suppressed because it is too large
Load diff
Binary file not shown.
|
@ -1987,15 +1987,6 @@
|
|||
"lodash._baseuniq": "4.6.0"
|
||||
}
|
||||
},
|
||||
"malihu-custom-scrollbar-plugin": {
|
||||
"version": "3.1.3",
|
||||
"resolved": "file:node_shrinkwrap/malihu-custom-scrollbar-plugin-3.1.3.tgz",
|
||||
"integrity": "sha1-LsJtUd8iPCUeWG/GZicClTvwJvE=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"jquery-mousewheel": "3.1.3"
|
||||
}
|
||||
},
|
||||
"math-random": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "file:node_shrinkwrap/math-random-1.0.1.tgz",
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
"jquery-mousewheel": "3.1.3",
|
||||
"json-js": "1.1.2",
|
||||
"l10n-for-node": "0.0.1",
|
||||
"malihu-custom-scrollbar-plugin": "3.1.3",
|
||||
"select2": "4.0.1",
|
||||
"shrinkpack": "0.13.1",
|
||||
"smartmenus": "1.0.0",
|
||||
|
|
Loading…
Reference in a new issue