From 7921850186407ec129baf1dd46f96d1a1f7f20e5 Mon Sep 17 00:00:00 2001 From: azivner Date: Wed, 3 Jan 2018 22:36:27 -0500 Subject: [PATCH] added missing map file and unminified context menu js file --- public/libraries/jquery.ui-contextmenu.js | 631 ++++++++++++++++++ .../jquery.ui-contextmenu.min.js.map | 1 + routes/api/notes_move.js | 7 +- 3 files changed, 637 insertions(+), 2 deletions(-) create mode 100644 public/libraries/jquery.ui-contextmenu.js create mode 100644 public/libraries/jquery.ui-contextmenu.min.js.map diff --git a/public/libraries/jquery.ui-contextmenu.js b/public/libraries/jquery.ui-contextmenu.js new file mode 100644 index 000000000..8b1102887 --- /dev/null +++ b/public/libraries/jquery.ui-contextmenu.js @@ -0,0 +1,631 @@ +/******************************************************************************* + * jquery.ui-contextmenu.js plugin. + * + * jQuery plugin that provides a context menu (based on the jQueryUI menu widget). + * + * @see https://github.com/mar10/jquery-ui-contextmenu + * + * Copyright (c) 2013-2017, Martin Wendt (http://wwWendt.de). Licensed MIT. + */ + +(function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { + // AMD. Register as an anonymous module. + define([ "jquery", "jquery-ui/ui/widgets/menu" ], factory ); + } else { + // Browser globals + factory( jQuery ); + } +}(function( $ ) { + +"use strict"; + +var supportSelectstart = "onselectstart" in document.createElement("div"), + match = $.ui.menu.version.match(/^(\d)\.(\d+)/), + uiVersion = { + major: parseInt(match[1], 10), + minor: parseInt(match[2], 10) + }, + isLTE110 = ( uiVersion.major < 2 && uiVersion.minor <= 10 ), + isLTE111 = ( uiVersion.major < 2 && uiVersion.minor <= 11 ); + +$.widget("moogle.contextmenu", { + version: "@VERSION", + options: { + addClass: "ui-contextmenu", // Add this class to the outer