Skip to content

Commit 0373182

Browse files
committed
Bump AMD compatibility to jquery-ui 1.12 (drop 1.11 support)
Close mar10#108
1 parent 52f099f commit 0373182

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
# 1.13.1-0 / Unreleased
1+
# 1.14.0-0 / Unreleased
2+
3+
* #108: Update AMD dependency to be compatible with the jQuery 1.12 layout:
4+
"jquery-ui/ui/widgets/menu"
5+
NOTE: this is not backwards compatible with jQuery 1.11 and before:
6+
http://jqueryui.com/upgrade-guide/1.12/#official-package-on-npm
7+
8+
# 1.13.1 / 2017-01-27
9+
210
* [BUGFIX] #109 Fix `setEntry(title)` for titles containing icons
311
* [BUGFIX] #110 Fix `setEntry({...})` for jQuery UI 1.12
412

@@ -124,3 +132,7 @@
124132
* [FEATURE] Support `taphold` events.
125133
* [FEATURE] Show / hide effects configurable.
126134
* [BUGFIX] Fixed markup for disabled entries.
135+
136+
# 0.2.0 / 2013-05-10
137+
138+
* First release.

jquery.ui-contextmenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"use strict";
1313
if ( typeof define === "function" && define.amd ) {
1414
// AMD. Register as an anonymous module.
15-
define([ "jquery", "jquery-ui/menu" ], factory );
15+
define([ "jquery", "jquery-ui/ui/widgets/menu" ], factory );
1616
} else {
1717
// Browser globals
1818
factory( jQuery );

0 commit comments

Comments
 (0)