This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$( "#help" ).guide(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.widget( "ab.autocomplete", $.ui.autocomplete, { | |
_renderMenu: function( ul, items ) { | |
var that = this, | |
currentCategory = ""; | |
// This should be returning integers, not booleans. | |
items.sort( function( a, b ) { | |
if ( a.cat > b.cat ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function( $, undefined ) { | |
$.extend( $.datepicker, { | |
monthAdjusted: false, | |
_adjustDate: function ( id, offset, period ) { | |
var _super = $.datepicker.constructor.prototype; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
margin: 1.4em; | |
} | |
table { | |
min-width: 30%; | |
} | |
table > thead > tr > td { | |
padding: 0.3em; | |
} | |
table > tbody > tr { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function( $, undefined ) { | |
$.widget( "ab.tabs", $.ui.tabs, { | |
_tabKeydown: function( e ) { | |
// Handle the keydown behavior first. | |
this._super( e ); | |
// Return early if we're not dealing with a TAB key. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function( $, undefined ) { | |
// This is just a dummy application. A real one would have many more | |
// properties and methods, but the same concept applies. It isn't aware | |
// of any widgets that realize its capabilities. | |
function Application () { | |
this.minSize = 0; | |
this.maxSize = 10; | |
this.idealMinSize = 3; | |
this.idealMaxSize = 7; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-size: 0.8em; | |
margin: 5%; | |
} |