diff --git a/loleaflet/.eslintignore b/loleaflet/.eslintignore index c7d0ae184..6f11545b6 100644 --- a/loleaflet/.eslintignore +++ b/loleaflet/.eslintignore @@ -5,4 +5,3 @@ # # This is way too ugly for eslint... **/js/jquery.mCustomScrollbar.js -**/js/jquery.contextMenu.js diff --git a/loleaflet/Makefile.am b/loleaflet/Makefile.am index 0cb26b4a0..4c09cc590 100644 --- a/loleaflet/Makefile.am +++ b/loleaflet/Makefile.am @@ -91,6 +91,7 @@ NODE_MODULES_JS =\ node_modules/hammerjs/hammer.min.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/autolinker/dist/Autolinker.js \ @@ -100,7 +101,6 @@ NODE_MODULES_JS =\ node_modules/@braintree/sanitize-url/dist.js LOLEAFLET_LIBS_JS =\ - jquery.contextMenu.js \ jquery.mCustomScrollbar.js \ w2ui-1.5.rc1.js diff --git a/loleaflet/js/jquery.contextMenu.js b/loleaflet/js/jquery.contextMenu.js deleted file mode 100644 index 881ee67f0..000000000 --- a/loleaflet/js/jquery.contextMenu.js +++ /dev/null @@ -1,1928 +0,0 @@ -/*! - * jQuery contextMenu v2.2.3 - Plugin for simple contextMenu handling - * - * Version: v2.2.3 - * - * Authors: Björn Brala (SWIS.nl), Rodney Rehm, Addy Osmani (patches for FF) - * Web: http://swisnl.github.io/jQuery-contextMenu/ - * - * Copyright (c) 2011-2016 SWIS BV and contributors - * - * Licensed under - * MIT License http://www.opensource.org/licenses/mit-license - * GPL v3 http://opensource.org/licenses/GPL-3.0 - * - * Date: 2016-07-17T19:36:02.968Z - */ - -(function (factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as anonymous module. - define(['jquery'], factory); - } else if (typeof exports === 'object') { - // Node / CommonJS - factory(require('jquery')); - } else { - // Browser globals. - factory(jQuery); - } -})(function ($) { - - 'use strict'; - - // TODO: - - // ARIA stuff: menuitem, menuitemcheckbox und menuitemradio - // create