]> source.dussan.org Git - jquery-ui.git/commitdiff
Menu: Alphabetize options.
authorScott González <scott.gonzalez@gmail.com>
Tue, 10 Jul 2012 16:07:00 +0000 (12:07 -0400)
committerScott González <scott.gonzalez@gmail.com>
Tue, 10 Jul 2012 16:07:00 +0000 (12:07 -0400)
tests/unit/menu/menu_common.js
ui/jquery.ui.menu.js

index 02e0befe8a797fcc353d8e92acbd6a003a560d62..2ab32ac05ef5e8f86eaa70173601100bddabccf3 100644 (file)
@@ -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,
index e04c48b66a9a9b1ce56d47b4bf4f4f1af962af72..e57d1985a2edc605ad785576ccb162d44de95db7 100644 (file)
@@ -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,