Skip to content

Commit

Permalink
Use hard tabs for indentation consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
treyhunner authored and scottgonzalez committed Feb 27, 2012
1 parent 1d2fcad commit 9d6e94f
Show file tree
Hide file tree
Showing 13 changed files with 112 additions and 112 deletions.
30 changes: 15 additions & 15 deletions ui/i18n/jquery.ui.datepicker-bg.js
@@ -1,24 +1,24 @@
/* Bulgarian initialisation for the jQuery UI date picker plugin. */ /* Bulgarian initialisation for the jQuery UI date picker plugin. */
/* Written by Stoyan Kyosev (http://svest.org). */ /* Written by Stoyan Kyosev (http://svest.org). */
jQuery(function($){ jQuery(function($){
$.datepicker.regional['bg'] = { $.datepicker.regional['bg'] = {
closeText: 'затвори', closeText: 'затвори',
prevText: '<назад', prevText: '<назад',
nextText: 'напред>', nextText: 'напред>',
nextBigText: '>>', nextBigText: '>>',
currentText: 'днес', currentText: 'днес',
monthNames: ['Януари','Февруари','Март','Април','Май','Юни', monthNames: ['Януари','Февруари','Март','Април','Май','Юни',
'Юли','Август','Септември','Октомври','Ноември','Декември'], 'Юли','Август','Септември','Октомври','Ноември','Декември'],
monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни', monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни',
'Юли','Авг','Сеп','Окт','Нов','Дек'], 'Юли','Авг','Сеп','Окт','Нов','Дек'],
dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'], dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'],
dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'], dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'],
dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'], dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'],
weekHeader: 'Wk', weekHeader: 'Wk',
dateFormat: 'dd.mm.yy', dateFormat: 'dd.mm.yy',
firstDay: 1, firstDay: 1,
isRTL: false, isRTL: false,
showMonthAfterYear: false, showMonthAfterYear: false,
yearSuffix: ''}; yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['bg']); $.datepicker.setDefaults($.datepicker.regional['bg']);
}); });
2 changes: 1 addition & 1 deletion ui/i18n/jquery.ui.datepicker-cs.js
Expand Up @@ -7,7 +7,7 @@ jQuery(function($){
nextText: 'Později>', nextText: 'Později>',
currentText: 'Nyní', currentText: 'Nyní',
monthNames: ['leden','únor','březen','duben','květen','červen', monthNames: ['leden','únor','březen','duben','květen','červen',
'červenec','srpen','září','říjen','listopad','prosinec'], 'červenec','srpen','září','říjen','listopad','prosinec'],
monthNamesShort: ['led','úno','bře','dub','kvě','čer', monthNamesShort: ['led','úno','bře','dub','kvě','čer',
'čvc','srp','zář','říj','lis','pro'], 'čvc','srp','zář','říj','lis','pro'],
dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'], dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'],
Expand Down
16 changes: 8 additions & 8 deletions ui/i18n/jquery.ui.datepicker-da.js
@@ -1,23 +1,23 @@
/* Danish initialisation for the jQuery UI date picker plugin. */ /* Danish initialisation for the jQuery UI date picker plugin. */
/* Written by Jan Christensen ( deletestuff@gmail.com). */ /* Written by Jan Christensen ( deletestuff@gmail.com). */
jQuery(function($){ jQuery(function($){
$.datepicker.regional['da'] = { $.datepicker.regional['da'] = {
closeText: 'Luk', closeText: 'Luk',
prevText: '<Forrige', prevText: '<Forrige',
nextText: 'Næste>', nextText: 'Næste>',
currentText: 'Idag', currentText: 'Idag',
monthNames: ['Januar','Februar','Marts','April','Maj','Juni', monthNames: ['Januar','Februar','Marts','April','Maj','Juni',
'Juli','August','September','Oktober','November','December'], 'Juli','August','September','Oktober','November','December'],
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
'Jul','Aug','Sep','Okt','Nov','Dec'], 'Jul','Aug','Sep','Okt','Nov','Dec'],
dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
weekHeader: 'Uge', weekHeader: 'Uge',
dateFormat: 'dd-mm-yy', dateFormat: 'dd-mm-yy',
firstDay: 1, firstDay: 1,
isRTL: false, isRTL: false,
showMonthAfterYear: false, showMonthAfterYear: false,
yearSuffix: ''}; yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['da']); $.datepicker.setDefaults($.datepicker.regional['da']);
}); });
14 changes: 7 additions & 7 deletions ui/i18n/jquery.ui.datepicker-fi.js
@@ -1,23 +1,23 @@
/* Finnish initialisation for the jQuery UI date picker plugin. */ /* Finnish initialisation for the jQuery UI date picker plugin. */
/* Written by Harri Kilpi� (harrikilpio@gmail.com). */ /* Written by Harri Kilpi� (harrikilpio@gmail.com). */
jQuery(function($){ jQuery(function($){
$.datepicker.regional['fi'] = { $.datepicker.regional['fi'] = {
closeText: 'Sulje', closeText: 'Sulje',
prevText: '«Edellinen', prevText: '«Edellinen',
nextText: 'Seuraava»', nextText: 'Seuraava»',
currentText: 'Tänään', currentText: 'Tänään',
monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kesäkuu', monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kesäkuu',
'Heinäkuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'], 'Heinäkuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'],
monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kesä', monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kesä',
'Heinä','Elo','Syys','Loka','Marras','Joulu'], 'Heinä','Elo','Syys','Loka','Marras','Joulu'],
dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'], dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'],
dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'], dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'],
dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'], dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'],
weekHeader: 'Vk', weekHeader: 'Vk',
dateFormat: 'dd.mm.yy', dateFormat: 'dd.mm.yy',
firstDay: 1, firstDay: 1,
isRTL: false, isRTL: false,
showMonthAfterYear: false, showMonthAfterYear: false,
yearSuffix: ''}; yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['fi']); $.datepicker.setDefaults($.datepicker.regional['fi']);
}); });
4 changes: 2 additions & 2 deletions ui/i18n/jquery.ui.datepicker-fr.js
@@ -1,7 +1,7 @@
/* French initialisation for the jQuery UI date picker plugin. */ /* French initialisation for the jQuery UI date picker plugin. */
/* Written by Keith Wood (kbwood{at}iinet.com.au), /* Written by Keith Wood (kbwood{at}iinet.com.au),
Stéphane Nahmani (sholby@sholby.net), Stéphane Nahmani (sholby@sholby.net),
Stéphane Raimbault <stephane.raimbault@gmail.com> */ Stéphane Raimbault <stephane.raimbault@gmail.com> */
jQuery(function($){ jQuery(function($){
$.datepicker.regional['fr'] = { $.datepicker.regional['fr'] = {
closeText: 'Fermer', closeText: 'Fermer',
Expand Down
36 changes: 18 additions & 18 deletions ui/i18n/jquery.ui.datepicker-no.js
Expand Up @@ -2,22 +2,22 @@
/* Written by Naimdjon Takhirov (naimdjon@gmail.com). */ /* Written by Naimdjon Takhirov (naimdjon@gmail.com). */


jQuery(function($){ jQuery(function($){
$.datepicker.regional['no'] = { $.datepicker.regional['no'] = {
closeText: 'Lukk', closeText: 'Lukk',
prevText: '&#xAB;Forrige', prevText: '&#xAB;Forrige',
nextText: 'Neste&#xBB;', nextText: 'Neste&#xBB;',
currentText: 'I dag', currentText: 'I dag',
monthNames: ['januar','februar','mars','april','mai','juni','juli','august','september','oktober','november','desember'], monthNames: ['januar','februar','mars','april','mai','juni','juli','august','september','oktober','november','desember'],
monthNamesShort: ['jan','feb','mar','apr','mai','jun','jul','aug','sep','okt','nov','des'], monthNamesShort: ['jan','feb','mar','apr','mai','jun','jul','aug','sep','okt','nov','des'],
dayNamesShort: ['søn','man','tir','ons','tor','fre','lør'], dayNamesShort: ['søn','man','tir','ons','tor','fre','lør'],
dayNames: ['søndag','mandag','tirsdag','onsdag','torsdag','fredag','lørdag'], dayNames: ['søndag','mandag','tirsdag','onsdag','torsdag','fredag','lørdag'],
dayNamesMin: ['sø','ma','ti','on','to','fr','lø'], dayNamesMin: ['sø','ma','ti','on','to','fr','lø'],
weekHeader: 'Uke', weekHeader: 'Uke',
dateFormat: 'dd.mm.yy', dateFormat: 'dd.mm.yy',
firstDay: 1, firstDay: 1,
isRTL: false, isRTL: false,
showMonthAfterYear: false, showMonthAfterYear: false,
yearSuffix: '' yearSuffix: ''
}; };
$.datepicker.setDefaults($.datepicker.regional['no']); $.datepicker.setDefaults($.datepicker.regional['no']);
}); });
16 changes: 8 additions & 8 deletions ui/i18n/jquery.ui.datepicker-sv.js
@@ -1,23 +1,23 @@
/* Swedish initialisation for the jQuery UI date picker plugin. */ /* Swedish initialisation for the jQuery UI date picker plugin. */
/* Written by Anders Ekdahl ( anders@nomadiz.se). */ /* Written by Anders Ekdahl ( anders@nomadiz.se). */
jQuery(function($){ jQuery(function($){
$.datepicker.regional['sv'] = { $.datepicker.regional['sv'] = {
closeText: 'Stäng', closeText: 'Stäng',
prevText: '&#xAB;Förra', prevText: '&#xAB;Förra',
nextText: 'Nästa&#xBB;', nextText: 'Nästa&#xBB;',
currentText: 'Idag', currentText: 'Idag',
monthNames: ['Januari','Februari','Mars','April','Maj','Juni', monthNames: ['Januari','Februari','Mars','April','Maj','Juni',
'Juli','Augusti','September','Oktober','November','December'], 'Juli','Augusti','September','Oktober','November','December'],
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
'Jul','Aug','Sep','Okt','Nov','Dec'], 'Jul','Aug','Sep','Okt','Nov','Dec'],
dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'], dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'],
dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'], dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'],
dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'], dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'],
weekHeader: 'Ve', weekHeader: 'Ve',
dateFormat: 'yy-mm-dd', dateFormat: 'yy-mm-dd',
firstDay: 1, firstDay: 1,
isRTL: false, isRTL: false,
showMonthAfterYear: false, showMonthAfterYear: false,
yearSuffix: ''}; yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['sv']); $.datepicker.setDefaults($.datepicker.regional['sv']);
}); });
2 changes: 1 addition & 1 deletion ui/jquery.effects.blind.js
Expand Up @@ -50,7 +50,7 @@ $.effects.effect.blind = function( o, done ) {
.css( vertical ? "top" : "left", "auto" ) .css( vertical ? "top" : "left", "auto" )
.css({ position: "absolute" }); .css({ position: "absolute" });


animation[ ref2 ] = show ? margin : distance + margin; animation[ ref2 ] = show ? margin : distance + margin;
} }


// start at 0 if we are showing // start at 0 if we are showing
Expand Down
16 changes: 8 additions & 8 deletions ui/jquery.ui.datepicker.js
Expand Up @@ -628,7 +628,7 @@ $.extend(Datepicker.prototype, {
}, },


/* Pop-up the date picker for a given input field. /* Pop-up the date picker for a given input field.
If false returned from beforeShow event handler do not show. If false returned from beforeShow event handler do not show.
@param input element - the input field attached to the date picker or @param input element - the input field attached to the date picker or
event - if triggered by focus */ event - if triggered by focus */
_showDatepicker: function(input) { _showDatepicker: function(input) {
Expand All @@ -647,7 +647,7 @@ $.extend(Datepicker.prototype, {
var beforeShow = $.datepicker._get(inst, 'beforeShow'); var beforeShow = $.datepicker._get(inst, 'beforeShow');
var beforeShowSettings = beforeShow ? beforeShow.apply(input, [input, inst]) : {}; var beforeShowSettings = beforeShow ? beforeShow.apply(input, [input, inst]) : {};
if(beforeShowSettings === false){ if(beforeShowSettings === false){
//false //false
return; return;
} }
extendRemove(inst.settings, beforeShowSettings); extendRemove(inst.settings, beforeShowSettings);
Expand Down Expand Up @@ -785,11 +785,11 @@ $.extend(Datepicker.prototype, {
_findPos: function(obj) { _findPos: function(obj) {
var inst = this._getInst(obj); var inst = this._getInst(obj);
var isRTL = this._get(inst, 'isRTL'); var isRTL = this._get(inst, 'isRTL');
while (obj && (obj.type == 'hidden' || obj.nodeType != 1 || $.expr.filters.hidden(obj))) { while (obj && (obj.type == 'hidden' || obj.nodeType != 1 || $.expr.filters.hidden(obj))) {
obj = obj[isRTL ? 'previousSibling' : 'nextSibling']; obj = obj[isRTL ? 'previousSibling' : 'nextSibling'];
} }
var position = $(obj).offset(); var position = $(obj).offset();
return [position.left, position.top]; return [position.left, position.top];
}, },


/* Hide the date picker from view. /* Hide the date picker from view.
Expand Down Expand Up @@ -1784,7 +1784,7 @@ function isArray(a) {


/* Invoke the datepicker functionality. /* Invoke the datepicker functionality.
@param options string - a command, optionally followed by additional parameters or @param options string - a command, optionally followed by additional parameters or
Object - settings for attaching new datepicker functionality Object - settings for attaching new datepicker functionality
@return jQuery object */ @return jQuery object */
$.fn.datepicker = function(options){ $.fn.datepicker = function(options){


Expand Down
26 changes: 13 additions & 13 deletions ui/jquery.ui.draggable.js
Expand Up @@ -370,7 +370,7 @@ $.widget("ui.draggable", $.ui.mouse, {
]; ];


if(!(/^(document|window|parent)$/).test(o.containment) && o.containment.constructor != Array) { if(!(/^(document|window|parent)$/).test(o.containment) && o.containment.constructor != Array) {
var c = $(o.containment); var c = $(o.containment);
var ce = c[0]; if(!ce) return; var ce = c[0]; if(!ce) return;
var co = c.offset(); var co = c.offset();
var over = ($(ce).css("overflow") != 'hidden'); var over = ($(ce).css("overflow") != 'hidden');
Expand Down Expand Up @@ -424,18 +424,18 @@ $.widget("ui.draggable", $.ui.mouse, {
*/ */


if(this.originalPosition) { //If we are not dragging yet, we won't check for options if(this.originalPosition) { //If we are not dragging yet, we won't check for options
var containment; var containment;
if(this.containment) { if(this.containment) {
if (this.relative_container){ if (this.relative_container){
var co = this.relative_container.offset(); var co = this.relative_container.offset();
containment = [ this.containment[0] + co.left, containment = [ this.containment[0] + co.left,
this.containment[1] + co.top, this.containment[1] + co.top,
this.containment[2] + co.left, this.containment[2] + co.left,
this.containment[3] + co.top ]; this.containment[3] + co.top ];
} }
else { else {
containment = this.containment; containment = this.containment;
} }


if(event.pageX - this.offset.click.left < containment[0]) pageX = containment[0] + this.offset.click.left; if(event.pageX - this.offset.click.left < containment[0]) pageX = containment[0] + this.offset.click.left;
if(event.pageY - this.offset.click.top < containment[1]) pageY = containment[1] + this.offset.click.top; if(event.pageY - this.offset.click.top < containment[1]) pageY = containment[1] + this.offset.click.top;
Expand Down
4 changes: 2 additions & 2 deletions ui/jquery.ui.mouse.js
Expand Up @@ -33,7 +33,7 @@ $.widget("ui.mouse", {
}) })
.bind('click.'+this.widgetName, function(event) { .bind('click.'+this.widgetName, function(event) {
if (true === $.data(event.target, that.widgetName + '.preventClickEvent')) { if (true === $.data(event.target, that.widgetName + '.preventClickEvent')) {
$.removeData(event.target, that.widgetName + '.preventClickEvent'); $.removeData(event.target, that.widgetName + '.preventClickEvent');
event.stopImmediatePropagation(); event.stopImmediatePropagation();
return false; return false;
} }
Expand Down Expand Up @@ -132,7 +132,7 @@ $.widget("ui.mouse", {
this._mouseStarted = false; this._mouseStarted = false;


if (event.target == this._mouseDownEvent.target) { if (event.target == this._mouseDownEvent.target) {
$.data(event.target, this.widgetName + '.preventClickEvent', true); $.data(event.target, this.widgetName + '.preventClickEvent', true);
} }


this._mouseStop(event); this._mouseStop(event);
Expand Down
56 changes: 28 additions & 28 deletions ui/jquery.ui.resizable.js
Expand Up @@ -265,8 +265,8 @@ $.widget("ui.resizable", $.ui.mouse, {
//Aspect Ratio //Aspect Ratio
this.aspectRatio = (typeof o.aspectRatio == 'number') ? o.aspectRatio : ((this.originalSize.width / this.originalSize.height) || 1); this.aspectRatio = (typeof o.aspectRatio == 'number') ? o.aspectRatio : ((this.originalSize.width / this.originalSize.height) || 1);


var cursor = $('.ui-resizable-' + this.axis).css('cursor'); var cursor = $('.ui-resizable-' + this.axis).css('cursor');
$('body').css('cursor', cursor == 'auto' ? this.axis + '-resize' : cursor); $('body').css('cursor', cursor == 'auto' ? this.axis + '-resize' : cursor);


el.addClass("ui-resizable-resizing"); el.addClass("ui-resizable-resizing");
this._propagate("start", event); this._propagate("start", event);
Expand Down Expand Up @@ -346,31 +346,31 @@ $.widget("ui.resizable", $.ui.mouse, {


}, },


_updateVirtualBoundaries: function(forceAspectRatio) { _updateVirtualBoundaries: function(forceAspectRatio) {
var o = this.options, pMinWidth, pMaxWidth, pMinHeight, pMaxHeight, b; var o = this.options, pMinWidth, pMaxWidth, pMinHeight, pMaxHeight, b;


b = { b = {
minWidth: isNumber(o.minWidth) ? o.minWidth : 0, minWidth: isNumber(o.minWidth) ? o.minWidth : 0,
maxWidth: isNumber(o.maxWidth) ? o.maxWidth : Infinity, maxWidth: isNumber(o.maxWidth) ? o.maxWidth : Infinity,
minHeight: isNumber(o.minHeight) ? o.minHeight : 0, minHeight: isNumber(o.minHeight) ? o.minHeight : 0,
maxHeight: isNumber(o.maxHeight) ? o.maxHeight : Infinity maxHeight: isNumber(o.maxHeight) ? o.maxHeight : Infinity
}; };


if(this._aspectRatio || forceAspectRatio) { if(this._aspectRatio || forceAspectRatio) {
// We want to create an enclosing box whose aspect ration is the requested one // We want to create an enclosing box whose aspect ration is the requested one
// First, compute the "projected" size for each dimension based on the aspect ratio and other dimension // First, compute the "projected" size for each dimension based on the aspect ratio and other dimension
pMinWidth = b.minHeight * this.aspectRatio; pMinWidth = b.minHeight * this.aspectRatio;
pMinHeight = b.minWidth / this.aspectRatio; pMinHeight = b.minWidth / this.aspectRatio;
pMaxWidth = b.maxHeight * this.aspectRatio; pMaxWidth = b.maxHeight * this.aspectRatio;
pMaxHeight = b.maxWidth / this.aspectRatio; pMaxHeight = b.maxWidth / this.aspectRatio;


if(pMinWidth > b.minWidth) b.minWidth = pMinWidth; if(pMinWidth > b.minWidth) b.minWidth = pMinWidth;
if(pMinHeight > b.minHeight) b.minHeight = pMinHeight; if(pMinHeight > b.minHeight) b.minHeight = pMinHeight;
if(pMaxWidth < b.maxWidth) b.maxWidth = pMaxWidth; if(pMaxWidth < b.maxWidth) b.maxWidth = pMaxWidth;
if(pMaxHeight < b.maxHeight) b.maxHeight = pMaxHeight; if(pMaxHeight < b.maxHeight) b.maxHeight = pMaxHeight;
} }
this._vBoundaries = b; this._vBoundaries = b;
}, },


_updateCache: function(data) { _updateCache: function(data) {
var o = this.options; var o = this.options;
Expand Down Expand Up @@ -705,7 +705,7 @@ $.ui.plugin.add("resizable", "containment", {
hoset = Math.abs( (self._helper ? self.offset.top - cop.top : (self.offset.top - co.top)) + self.sizeDiff.height ); hoset = Math.abs( (self._helper ? self.offset.top - cop.top : (self.offset.top - co.top)) + self.sizeDiff.height );


var isParent = self.containerElement.get(0) == self.element.parent().get(0), var isParent = self.containerElement.get(0) == self.element.parent().get(0),
isOffsetRelative = /relative|absolute/.test(self.containerElement.css('position')); isOffsetRelative = /relative|absolute/.test(self.containerElement.css('position'));


if(isParent && isOffsetRelative) woset -= self.parentData.left; if(isParent && isOffsetRelative) woset -= self.parentData.left;


Expand Down
2 changes: 1 addition & 1 deletion ui/jquery.ui.tabs.js
Expand Up @@ -430,7 +430,7 @@ $.widget( "ui.tabs", {
typeof selector === "string" ? this.anchors.filter( "[href$='" + selector + "']" ) : $(); typeof selector === "string" ? this.anchors.filter( "[href$='" + selector + "']" ) : $();
}, },


_getIndex: function( index ) { _getIndex: function( index ) {
// meta-function to give users option to provide a href string instead of a numerical index. // meta-function to give users option to provide a href string instead of a numerical index.
// also sanitizes numerical indexes to valid values. // also sanitizes numerical indexes to valid values.
if ( typeof index == "string" ) { if ( typeof index == "string" ) {
Expand Down

0 comments on commit 9d6e94f

Please sign in to comment.