We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 646fc50 + 57135d6 commit 6a2556fCopy full SHA for 6a2556f
jquery.ui-contextmenu.js
@@ -7,7 +7,17 @@
7
*
8
* Copyright (c) 2014, Martin Wendt (http://wwWendt.de). Licensed MIT.
9
*/
10
-;(function($, window, document, undefined) {
+
11
+(function( factory ) {
12
+ "use strict";
13
+ if ( typeof define === "function" && define.amd ) {
14
+ // AMD. Register as an anonymous module.
15
+ define([ "jquery" ], factory );
16
+ } else {
17
+ // Browser globals
18
+ factory( jQuery );
19
+ }
20
+}(function( $ ) {
21
"use strict";
22
var supportSelectstart = "onselectstart" in document.createElement("div"),
23
match, uiVersion;
@@ -417,4 +427,4 @@
417
427
});
418
428
}
419
429
420
-}(jQuery, window, document));
430
+}));
0 commit comments