aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-07-10 12:07:00 -0400
committerScott González <scott.gonzalez@gmail.com>2012-07-10 12:07:00 -0400
commit566c5f40582effbb393e4890f2992c952702ab1d (patch)
tree7c9a3aec57ec3e585246ad245af726df18bf36dc
parentdc689139ea22dc3341cc1da3df5c7b5f5e907627 (diff)
downloadjquery-ui-566c5f40582effbb393e4890f2992c952702ab1d.tar.gz
jquery-ui-566c5f40582effbb393e4890f2992c952702ab1d.zip
Menu: Alphabetize options.
-rw-r--r--tests/unit/menu/menu_common.js2
-rw-r--r--ui/jquery.ui.menu.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/menu/menu_common.js b/tests/unit/menu/menu_common.js
index 02e0befe8..2ab32ac05 100644
--- a/tests/unit/menu/menu_common.js
+++ b/tests/unit/menu/menu_common.js
@@ -1,13 +1,13 @@
TestHelpers.commonWidgetTests( "menu", {
defaults: {
disabled: false,
+ icon: "ui-icon-carat-1-e",
menus: "ul",
position: {
my: "left top",
at: "right top"
},
role: "menu",
- icon: "ui-icon-carat-1-e",
// callbacks
blur: null,
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js
index e04c48b66..e57d1985a 100644
--- a/ui/jquery.ui.menu.js
+++ b/ui/jquery.ui.menu.js
@@ -22,13 +22,13 @@ $.widget( "ui.menu", {
defaultElement: "<ul>",
delay: 300,
options: {
+ icon: "ui-icon-carat-1-e",
menus: "ul",
position: {
my: "left top",
at: "right top"
},
role: "menu",
- icon: "ui-icon-carat-1-e",
// callbacks
blur: null,