1 // this file is imcomplete since jquery style guide support is still not
6 if (condition) { doSomething(); } else if (otherCondition) {
26 for (i = 0; i < length; i++) {
29 for ( ; i < length; i++ ) {
38 ul.outerWidth( Math.max(
39 // Firefox wraps long text (possibly a rounding bug)
40 // so we add 1px to avoid the wrapping (#7513)
41 ul.width( "" ).outerWidth() + 1,
42 this.element.outerWidth()
46 return this.indeterminate ? false :
47 Math.min( this.options.max, Math.max( this.min, newValue ) );
50 if ( event.target !== that.element[ 0 ] &&
51 event.target !== menuElement &&
52 !$.contains( menuElement, event.target ) ) {
56 contents = this.headers.next()
57 .removeClass("ui-helper-reset ui-widget-content ui-corner-bottom " +
58 "ui-accordion-content ui-accordion-content-active ui-state-disabled")
63 .addClass( baseClasses )
64 .bind( "click" + this.eventNamespace, function( event ) {
65 if ( options.disabled ) {
66 event.preventDefault();
80 $.each( { div: "#list1", ul: "#navigation", dl: "#accordion-dl" } );
86 var x = {foo:{bar: true}};
87 var y = {a: b, c: d, e:{ f: g}};