wp/wp-includes/js/jquery/ui/mouse.js
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
--- a/wp/wp-includes/js/jquery/ui/mouse.js	Thu Sep 29 08:06:27 2022 +0200
+++ b/wp/wp-includes/js/jquery/ui/mouse.js	Fri Sep 05 18:40:08 2025 +0200
@@ -1,16 +1,16 @@
 /*!
- * jQuery UI Mouse 1.13.1
- * http://jqueryui.com
+ * jQuery UI Mouse 1.13.3
+ * https://jqueryui.com
  *
- * Copyright jQuery Foundation and other contributors
+ * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
- * http://jquery.org/license
+ * https://jquery.org/license
  */
 
 //>>label: Mouse
 //>>group: Widgets
 //>>description: Abstracts mouse-based interactions to assist in creating certain widgets.
-//>>docs: http://api.jqueryui.com/mouse/
+//>>docs: https://api.jqueryui.com/mouse/
 
 ( function( factory ) {
 	"use strict";
@@ -20,7 +20,9 @@
 		// AMD. Register as an anonymous module.
 		define( [
 			"jquery",
-			"./core"
+			"../ie",
+			"../version",
+			"../widget"
 		], factory );
 	} else {
 
@@ -36,7 +38,7 @@
 } );
 
 return $.widget( "ui.mouse", {
-	version: "1.13.1",
+	version: "1.13.3",
 	options: {
 		cancel: "input, textarea, button, select, option",
 		distance: 1,
@@ -146,17 +148,17 @@
 
 			// IE mouseup check - mouseup happened when mouse was out of window
 			if ( $.ui.ie && ( !document.documentMode || document.documentMode < 9 ) &&
-				!event.button ) {
+					!event.button ) {
 				return this._mouseUp( event );
 
-				// Iframe mouseup check - mouseup occurred in another document
+			// Iframe mouseup check - mouseup occurred in another document
 			} else if ( !event.which ) {
 
 				// Support: Safari <=8 - 9
 				// Safari sets which to 0 if you press any of the following keys
 				// during a drag (#14461)
 				if ( event.originalEvent.altKey || event.originalEvent.ctrlKey ||
-					event.originalEvent.metaKey || event.originalEvent.shiftKey ) {
+						event.originalEvent.metaKey || event.originalEvent.shiftKey ) {
 					this.ignoreMissingWhich = true;
 				} else if ( !this.ignoreMissingWhich ) {
 					return this._mouseUp( event );