]> source.dussan.org Git - jquery-ui.git/commitdiff
Tooltip: Alphabetized options.
authorScott González <scott.gonzalez@gmail.com>
Sun, 29 May 2011 00:19:23 +0000 (20:19 -0400)
committerScott González <scott.gonzalez@gmail.com>
Sun, 29 May 2011 00:19:23 +0000 (20:19 -0400)
tests/unit/tooltip/tooltip_defaults.js
ui/jquery.ui.tooltip.js

index 317ba1aa0d8471ed50ac89421e29a81f242dcf29..13daaeb6797a8b6aabfc529edf6116ad11bd73c3 100644 (file)
@@ -1,8 +1,8 @@
 commonWidgetTests( "tooltip", {
        defaults: {
+               content: function() {},
                disabled: false,
                items: "[title]",
-               content: function() {},
                position: {
                        my: "left+15 center",
                        at: "right center"
index f2bae00bd8cd1846142b23492fd57dc7cf1f102e..236e95ae8bda74ef10a5085d62f7da474e5fc691 100644 (file)
@@ -19,15 +19,15 @@ var increments = 0;
 $.widget( "ui.tooltip", {
        version: "@VERSION",
        options: {
-               tooltipClass: null,
-               items: "[title]",
                content: function() {
                        return $( this ).attr( "title" );
                },
+               items: "[title]",
                position: {
                        my: "left+15 center",
                        at: "right center"
-               }
+               },
+               tooltipClass: null
        },
 
        _create: function() {