Source formatting: Removing trailing spaces

This commit is contained in:
Eduardo Lundgren 2008-11-20 04:10:34 +00:00
parent 352287b7ef
commit 558218f2aa
52 changed files with 154 additions and 154 deletions

View File

@ -4,7 +4,7 @@
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.
* *
* http://docs.jquery.com/UI/Effects/Blind * http://docs.jquery.com/UI/Effects/Blind
* *
* Depends: * Depends:
@ -33,7 +33,7 @@ $.effects.blind = function(o) {
// Animation // Animation
var animation = {}; var animation = {};
animation[ref] = mode == 'show' ? distance : 0; animation[ref] = mode == 'show' ? distance : 0;
// Animate // Animate
wrapper.animate(animation, o.duration, o.options.easing, function() { wrapper.animate(animation, o.duration, o.options.easing, function() {
if(mode == 'hide') el.hide(); // Hide if(mode == 'hide') el.hide(); // Hide

View File

@ -4,7 +4,7 @@
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.
* *
* http://docs.jquery.com/UI/Effects/Bounce * http://docs.jquery.com/UI/Effects/Bounce
* *
* Depends: * Depends:

View File

@ -4,7 +4,7 @@
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.
* *
* http://docs.jquery.com/UI/Effects/Clip * http://docs.jquery.com/UI/Effects/Clip
* *
* Depends: * Depends:

View File

@ -4,7 +4,7 @@
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.
* *
* http://docs.jquery.com/UI/Effects/ * http://docs.jquery.com/UI/Effects/
*/ */
;(function($) { ;(function($) {
@ -308,33 +308,33 @@ var colors = {
* to offer multiple easing options * to offer multiple easing options
* *
* TERMS OF USE - jQuery Easing * TERMS OF USE - jQuery Easing
* *
* Open source under the BSD License. * Open source under the BSD License.
* *
* Copyright © 2008 George McGinley Smith * Copyright © 2008 George McGinley Smith
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without modification, * Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met: * are permitted provided that the following conditions are met:
* *
* Redistributions of source code must retain the above copyright notice, this list of * Redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer. * conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list * Redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials * of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution. * provided with the distribution.
* *
* Neither the name of the author nor the names of contributors may be used to endorse * Neither the name of the author nor the names of contributors may be used to endorse
* or promote products derived from this software without specific prior written permission. * or promote products derived from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE. * OF THE POSSIBILITY OF SUCH DAMAGE.
* *
*/ */
@ -477,33 +477,33 @@ $.extend($.easing,
/* /*
* *
* TERMS OF USE - EASING EQUATIONS * TERMS OF USE - EASING EQUATIONS
* *
* Open source under the BSD License. * Open source under the BSD License.
* *
* Copyright © 2001 Robert Penner * Copyright © 2001 Robert Penner
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without modification, * Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met: * are permitted provided that the following conditions are met:
* *
* Redistributions of source code must retain the above copyright notice, this list of * Redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer. * conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list * Redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials * of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution. * provided with the distribution.
* *
* Neither the name of the author nor the names of contributors may be used to endorse * Neither the name of the author nor the names of contributors may be used to endorse
* or promote products derived from this software without specific prior written permission. * or promote products derived from this software without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE. * OF THE POSSIBILITY OF SUCH DAMAGE.
* *
*/ */

View File

@ -4,7 +4,7 @@
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.
* *
* http://docs.jquery.com/UI/Effects/Drop * http://docs.jquery.com/UI/Effects/Drop
* *
* Depends: * Depends:

View File

@ -4,7 +4,7 @@
* Copyright (c) 2008 Paul Bakaus (ui.jquery.com) * Copyright (c) 2008 Paul Bakaus (ui.jquery.com)
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.
* *
* http://docs.jquery.com/UI/Effects/Explode * http://docs.jquery.com/UI/Effects/Explode
* *
* Depends: * Depends:

View File

@ -4,7 +4,7 @@
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.
* *
* http://docs.jquery.com/UI/Effects/Fold * http://docs.jquery.com/UI/Effects/Fold
* *
* Depends: * Depends:

View File

@ -4,7 +4,7 @@
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.
* *
* http://docs.jquery.com/UI/Effects/Highlight * http://docs.jquery.com/UI/Effects/Highlight
* *
* Depends: * Depends:

View File

@ -4,7 +4,7 @@
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.
* *
* http://docs.jquery.com/UI/Effects/Pulsate * http://docs.jquery.com/UI/Effects/Pulsate
* *
* Depends: * Depends:

View File

@ -4,7 +4,7 @@
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.
* *
* http://docs.jquery.com/UI/Effects/Scale * http://docs.jquery.com/UI/Effects/Scale
* *
* Depends: * Depends:

View File

@ -4,7 +4,7 @@
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.
* *
* http://docs.jquery.com/UI/Effects/Shake * http://docs.jquery.com/UI/Effects/Shake
* *
* Depends: * Depends:

View File

@ -4,7 +4,7 @@
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.
* *
* http://docs.jquery.com/UI/Effects/Slide * http://docs.jquery.com/UI/Effects/Slide
* *
* Depends: * Depends:

View File

@ -4,7 +4,7 @@
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.
* *
* http://docs.jquery.com/UI/Effects/Transfer * http://docs.jquery.com/UI/Effects/Transfer
* *
* Depends: * Depends:

View File

@ -20,7 +20,7 @@ jQuery(function($){
dayNamesShort: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'], dayNamesShort: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'],
dayNamesMin: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'], dayNamesMin: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'],
dayStatus: 'اختر DD لليوم الأول من الأسبوع', dateStatus: 'اختر D, M d', dayStatus: 'اختر DD لليوم الأول من الأسبوع', dateStatus: 'اختر D, M d',
dateFormat: 'dd/mm/yy', firstDay: 0, dateFormat: 'dd/mm/yy', firstDay: 0,
initStatus: 'اختر يوم', isRTL: true}; initStatus: 'اختر يوم', isRTL: true};
$.datepicker.setDefaults($.datepicker.regional['ar']); $.datepicker.setDefaults($.datepicker.regional['ar']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'], dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'],
dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'], dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'],
dayStatus: 'DD', dateStatus: 'D, M d', dayStatus: 'DD', dateStatus: 'D, M d',
dateFormat: 'mm/dd/yy', firstDay: 0, dateFormat: 'mm/dd/yy', firstDay: 0,
initStatus: '', isRTL: false}; initStatus: '', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['ca']); $.datepicker.setDefaults($.datepicker.regional['ca']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
dayNamesMin: ['ne','po','út','st','čt','pá','so'], dayNamesMin: ['ne','po','út','st','čt','pá','so'],
dayStatus: 'Nastavit DD jako první den v týdnu', dateStatus: '\'Vyber\' DD, M d', dayStatus: 'Nastavit DD jako první den v týdnu', dateStatus: '\'Vyber\' DD, M d',
dateFormat: 'dd.mm.yy', firstDay: 1, dateFormat: 'dd.mm.yy', firstDay: 1,
initStatus: 'Vyberte datum', isRTL: false}; initStatus: 'Vyberte datum', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['cs']); $.datepicker.setDefaults($.datepicker.regional['cs']);
}); });

View File

@ -9,9 +9,9 @@ jQuery(function($){
nextText: 'Næste>', nextStatus: 'Vis næste måned', nextText: 'Næste>', nextStatus: 'Vis næste måned',
nextBigText: '>>', nextBigStatus: '', nextBigText: '>>', nextBigStatus: '',
currentText: 'Idag', currentStatus: 'Vis aktuel måned', currentText: 'Idag', currentStatus: 'Vis aktuel måned',
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'],
monthStatus: 'Vis en anden måned', yearStatus: 'Vis et andet år', monthStatus: 'Vis en anden måned', yearStatus: 'Vis et andet år',
weekHeader: 'Uge', weekStatus: 'Årets uge', weekHeader: 'Uge', weekStatus: 'Årets uge',
@ -19,7 +19,7 @@ jQuery(function($){
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ø'],
dayStatus: 'Sæt DD som første ugedag', dateStatus: 'Vælg D, M d', dayStatus: 'Sæt DD som første ugedag', dateStatus: 'Vælg D, M d',
dateFormat: 'dd-mm-yy', firstDay: 0, dateFormat: 'dd-mm-yy', firstDay: 0,
initStatus: 'Vælg en dato', isRTL: false}; initStatus: 'Vælg en dato', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['da']); $.datepicker.setDefaults($.datepicker.regional['da']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'], dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'], dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
dayStatus: 'Setze DD als ersten Wochentag', dateStatus: 'Wähle D, M d', dayStatus: 'Setze DD als ersten Wochentag', dateStatus: 'Wähle D, M d',
dateFormat: 'dd.mm.yy', firstDay: 1, dateFormat: 'dd.mm.yy', firstDay: 1,
initStatus: 'Wähle ein Datum', isRTL: false}; initStatus: 'Wähle ein Datum', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['de']); $.datepicker.setDefaults($.datepicker.regional['de']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'], dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],
dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'], dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'],
dayStatus: 'DD', dateStatus: 'D, M d', dayStatus: 'DD', dateStatus: 'D, M d',
dateFormat: 'dd/mm/yy', firstDay: 0, dateFormat: 'dd/mm/yy', firstDay: 0,
initStatus: '', isRTL: false}; initStatus: '', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['es']); $.datepicker.setDefaults($.datepicker.regional['es']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'], dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],
dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'], dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'],
dayStatus: 'Utiliser DD comme premier jour de la semaine', dateStatus: 'Choisir le DD, MM d', dayStatus: 'Utiliser DD comme premier jour de la semaine', dateStatus: 'Choisir le DD, MM d',
dateFormat: 'dd/mm/yy', firstDay: 0, dateFormat: 'dd/mm/yy', firstDay: 0,
initStatus: 'Choisir la date', isRTL: false}; initStatus: 'Choisir la date', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['fr']); $.datepicker.setDefaults($.datepicker.regional['fr']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
dayStatus: 'DD', dateStatus: 'DD, M d', dayStatus: 'DD', dateStatus: 'DD, M d',
dateFormat: 'dd/mm/yy', firstDay: 0, dateFormat: 'dd/mm/yy', firstDay: 0,
initStatus: '', isRTL: true}; initStatus: '', isRTL: true};
$.datepicker.setDefaults($.datepicker.regional['he']); $.datepicker.setDefaults($.datepicker.regional['he']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'], dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'],
dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'],
dayStatus: 'DD', dateStatus: 'D, M d', dayStatus: 'DD', dateStatus: 'D, M d',
dateFormat: 'yy-mm-dd', firstDay: 1, dateFormat: 'yy-mm-dd', firstDay: 1,
initStatus: '', isRTL: false}; initStatus: '', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['hu']); $.datepicker.setDefaults($.datepicker.regional['hu']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
dayStatus: 'DD', dateStatus: 'D, M d', dayStatus: 'DD', dateStatus: 'D, M d',
dateFormat: 'dd.mm.yy', firstDay: 1, dateFormat: 'dd.mm.yy', firstDay: 1,
initStatus: '', isRTL: false}; initStatus: '', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['hy']); $.datepicker.setDefaults($.datepicker.regional['hy']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'], dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'],
dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'], dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'],
dayStatus: 'gunakan DD sebagai awal hari dalam minggu', dateStatus: 'pilih le DD, MM d', dayStatus: 'gunakan DD sebagai awal hari dalam minggu', dateStatus: 'pilih le DD, MM d',
dateFormat: 'dd/mm/yy', firstDay: 0, dateFormat: 'dd/mm/yy', firstDay: 0,
initStatus: 'Pilih Tanggal', isRTL: false}; initStatus: 'Pilih Tanggal', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['id']); $.datepicker.setDefaults($.datepicker.regional['id']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'], dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'],
dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'], dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'],
dayStatus: 'DD', dateStatus: 'D, M d', dayStatus: 'DD', dateStatus: 'D, M d',
dateFormat: 'dd/mm/yy', firstDay: 0, dateFormat: 'dd/mm/yy', firstDay: 0,
initStatus: '', isRTL: false}; initStatus: '', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['is']); $.datepicker.setDefaults($.datepicker.regional['is']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'], dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
dayNamesMin: ['Do','Lu','Ma','Me','Gio','Ve','Sa'], dayNamesMin: ['Do','Lu','Ma','Me','Gio','Ve','Sa'],
dayStatus: 'Usa DD come primo giorno della settimana', dateStatus: 'Seleziona D, M d', dayStatus: 'Usa DD come primo giorno della settimana', dateStatus: 'Seleziona D, M d',
dateFormat: 'dd/mm/yy', firstDay: 1, dateFormat: 'dd/mm/yy', firstDay: 1,
initStatus: 'Scegliere una data', isRTL: false}; initStatus: 'Scegliere una data', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['it']); $.datepicker.setDefaults($.datepicker.regional['it']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['日','月','火','水','木','金','土'], dayNamesShort: ['日','月','火','水','木','金','土'],
dayNamesMin: ['日','月','火','水','木','金','土'], dayNamesMin: ['日','月','火','水','木','金','土'],
dayStatus: 'DD', dateStatus: 'D, M d', dayStatus: 'DD', dateStatus: 'D, M d',
dateFormat: 'yy/mm/dd', firstDay: 0, dateFormat: 'yy/mm/dd', firstDay: 0,
initStatus: '', isRTL: false}; initStatus: '', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['ja']); $.datepicker.setDefaults($.datepicker.regional['ja']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['일','월','화','수','목','금','토'], dayNamesShort: ['일','월','화','수','목','금','토'],
dayNamesMin: ['일','월','화','수','목','금','토'], dayNamesMin: ['일','월','화','수','목','금','토'],
dayStatus: 'DD', dateStatus: 'D, M d', dayStatus: 'DD', dateStatus: 'D, M d',
dateFormat: 'yy-mm-dd', firstDay: 0, dateFormat: 'yy-mm-dd', firstDay: 0,
initStatus: '', isRTL: false}; initStatus: '', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['ko']); $.datepicker.setDefaults($.datepicker.regional['ko']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'], dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'],
dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'], dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'],
dayStatus: 'DD', dateStatus: 'D, M d', dayStatus: 'DD', dateStatus: 'D, M d',
dateFormat: 'yy-mm-dd', firstDay: 1, dateFormat: 'yy-mm-dd', firstDay: 1,
initStatus: '', isRTL: false}; initStatus: '', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['lt']); $.datepicker.setDefaults($.datepicker.regional['lt']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'], dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'],
dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'], dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'],
dayStatus: 'DD', dateStatus: 'D, M d', dayStatus: 'DD', dateStatus: 'D, M d',
dateFormat: 'dd-mm-yy', firstDay: 1, dateFormat: 'dd-mm-yy', firstDay: 1,
initStatus: '', isRTL: false}; initStatus: '', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['lv']); $.datepicker.setDefaults($.datepicker.regional['lv']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['Zon','Maa','Din','Woe','Don','Vri','Zat'], dayNamesShort: ['Zon','Maa','Din','Woe','Don','Vri','Zat'],
dayNamesMin: ['Zo','Ma','Di','Wo','Do','Vr','Za'], dayNamesMin: ['Zo','Ma','Di','Wo','Do','Vr','Za'],
dayStatus: 'DD', dateStatus: 'D, M d', dayStatus: 'DD', dateStatus: 'D, M d',
dateFormat: 'dd.mm.yy', firstDay: 1, dateFormat: 'dd.mm.yy', firstDay: 1,
initStatus: 'Kies een datum', isRTL: false}; initStatus: 'Kies een datum', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['nl']); $.datepicker.setDefaults($.datepicker.regional['nl']);
}); });

View File

@ -9,9 +9,9 @@ jQuery(function($){
nextText: 'Neste»', nextStatus: '', nextText: 'Neste»', nextStatus: '',
nextBigText: '>>', nextBigStatus: '', nextBigText: '>>', nextBigStatus: '',
currentText: 'I dag', currentStatus: '', currentText: 'I dag', currentStatus: '',
monthNames: ['Januar','Februar','Mars','April','Mai','Juni', monthNames: ['Januar','Februar','Mars','April','Mai','Juni',
'Juli','August','September','Oktober','November','Desember'], 'Juli','August','September','Oktober','November','Desember'],
monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jun', monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jun',
'Jul','Aug','Sep','Okt','Nov','Des'], 'Jul','Aug','Sep','Okt','Nov','Des'],
monthStatus: '', yearStatus: '', monthStatus: '', yearStatus: '',
weekHeader: 'Uke', weekStatus: '', weekHeader: 'Uke', weekStatus: '',
@ -19,7 +19,7 @@ jQuery(function($){
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ø'],
dayStatus: 'DD', dateStatus: 'D, M d', dayStatus: 'DD', dateStatus: 'D, M d',
dateFormat: 'yy-mm-dd', firstDay: 0, dateFormat: 'yy-mm-dd', firstDay: 0,
initStatus: '', isRTL: false}; initStatus: '', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['no']); $.datepicker.setDefaults($.datepicker.regional['no']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'], dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'],
dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'], dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'],
dayStatus: 'Ustaw DD jako pierwszy dzień tygodnia', dateStatus: 'Wybierz D, M d', dayStatus: 'Ustaw DD jako pierwszy dzień tygodnia', dateStatus: 'Wybierz D, M d',
dateFormat: 'yy-mm-dd', firstDay: 1, dateFormat: 'yy-mm-dd', firstDay: 1,
initStatus: 'Wybierz datę', isRTL: false}; initStatus: 'Wybierz datę', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['pl']); $.datepicker.setDefaults($.datepicker.regional['pl']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'], dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'],
dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'], dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'],
dayStatus: 'DD', dateStatus: 'D, M d', dayStatus: 'DD', dateStatus: 'D, M d',
dateFormat: 'dd/mm/yy', firstDay: 0, dateFormat: 'dd/mm/yy', firstDay: 0,
initStatus: '', isRTL: false}; initStatus: '', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['pt-BR']); $.datepicker.setDefaults($.datepicker.regional['pt-BR']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sam'], dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sam'],
dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sa'], dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sa'],
dayStatus: 'Seteaza DD ca prima saptamana zi', dateStatus: 'Selecteaza D, M d', dayStatus: 'Seteaza DD ca prima saptamana zi', dateStatus: 'Selecteaza D, M d',
dateFormat: 'mm/dd/yy', firstDay: 0, dateFormat: 'mm/dd/yy', firstDay: 0,
initStatus: 'Selecteaza o data', isRTL: false}; initStatus: 'Selecteaza o data', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['ro']); $.datepicker.setDefaults($.datepicker.regional['ro']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'], dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'],
dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'], dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'],
dayStatus: 'DD', dateStatus: 'D, M d', dayStatus: 'DD', dateStatus: 'D, M d',
dateFormat: 'dd.mm.yy', firstDay: 1, dateFormat: 'dd.mm.yy', firstDay: 1,
initStatus: '', isRTL: false}; initStatus: '', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['ru']); $.datepicker.setDefaults($.datepicker.regional['ru']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'], dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'],
dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'], dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'],
dayStatus: 'DD', dateStatus: 'D, M d', dayStatus: 'DD', dateStatus: 'D, M d',
dateFormat: 'dd.mm.yy', firstDay: 0, dateFormat: 'dd.mm.yy', firstDay: 0,
initStatus: '', isRTL: false}; initStatus: '', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['sk']); $.datepicker.setDefaults($.datepicker.regional['sk']);
}); });

View File

@ -20,7 +20,7 @@ jQuery(function($){
dayNamesShort: ['Ned','Pon','Tor','Sre','Čet','Pet','Sob'], dayNamesShort: ['Ned','Pon','Tor','Sre','Čet','Pet','Sob'],
dayNamesMin: ['Ne','Po','To','Sr','Če','Pe','So'], dayNamesMin: ['Ne','Po','To','Sr','Če','Pe','So'],
dayStatus: 'Nastavi DD za prvi dan v tednu', dateStatus: 'Izberi DD, d MM yy', dayStatus: 'Nastavi DD za prvi dan v tednu', dateStatus: 'Izberi DD, d MM yy',
dateFormat: 'dd.mm.yy', firstDay: 1, dateFormat: 'dd.mm.yy', firstDay: 1,
initStatus: 'Izbira datuma', isRTL: false}; initStatus: 'Izbira datuma', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['sl']); $.datepicker.setDefaults($.datepicker.regional['sl']);
}); });

View File

@ -9,9 +9,9 @@ jQuery(function($){
nextText: 'Nästa»', nextStatus: '', nextText: 'Nästa»', nextStatus: '',
nextBigText: '>>', nextBigStatus: '', nextBigText: '>>', nextBigStatus: '',
currentText: 'Idag', currentStatus: '', currentText: 'Idag', currentStatus: '',
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'],
monthStatus: '', yearStatus: '', monthStatus: '', yearStatus: '',
weekHeader: 'Ve', weekStatus: '', weekHeader: 'Ve', weekStatus: '',
@ -19,7 +19,7 @@ jQuery(function($){
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ö'],
dayStatus: 'DD', dateStatus: 'D, M d', dayStatus: 'DD', dateStatus: 'D, M d',
dateFormat: 'yy-mm-dd', firstDay: 1, dateFormat: 'yy-mm-dd', firstDay: 1,
initStatus: '', isRTL: false}; initStatus: '', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['sv']); $.datepicker.setDefaults($.datepicker.regional['sv']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
dayStatus: 'DD', dateStatus: 'D, M d', dayStatus: 'DD', dateStatus: 'D, M d',
dateFormat: 'dd/mm/yy', firstDay: 0, dateFormat: 'dd/mm/yy', firstDay: 0,
initStatus: '', isRTL: false}; initStatus: '', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['th']); $.datepicker.setDefaults($.datepicker.regional['th']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
dayStatus: 'Haftanın ilk gününü belirleyin', dateStatus: 'D, M d seçiniz', dayStatus: 'Haftanın ilk gününü belirleyin', dateStatus: 'D, M d seçiniz',
dateFormat: 'dd.mm.yy', firstDay: 1, dateFormat: 'dd.mm.yy', firstDay: 1,
initStatus: 'Bir tarih seçiniz', isRTL: false}; initStatus: 'Bir tarih seçiniz', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['tr']); $.datepicker.setDefaults($.datepicker.regional['tr']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'], dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'],
dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'], dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'],
dayStatus: 'DD', dateStatus: 'D, M d', dayStatus: 'DD', dateStatus: 'D, M d',
dateFormat: 'dd.mm.yy', firstDay: 1, dateFormat: 'dd.mm.yy', firstDay: 1,
initStatus: '', isRTL: false}; initStatus: '', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['uk']); $.datepicker.setDefaults($.datepicker.regional['uk']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
dayNamesMin: ['日','一','二','三','四','五','六'], dayNamesMin: ['日','一','二','三','四','五','六'],
dayStatus: '设置 DD 为一周起始', dateStatus: '选择 m月 d日, DD', dayStatus: '设置 DD 为一周起始', dateStatus: '选择 m月 d日, DD',
dateFormat: 'yy-mm-dd', firstDay: 1, dateFormat: 'yy-mm-dd', firstDay: 1,
initStatus: '请选择日期', isRTL: false}; initStatus: '请选择日期', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['zh-CN']); $.datepicker.setDefaults($.datepicker.regional['zh-CN']);
}); });

View File

@ -19,7 +19,7 @@ jQuery(function($){
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
dayNamesMin: ['日','一','二','三','四','五','六'], dayNamesMin: ['日','一','二','三','四','五','六'],
dayStatus: '設定 DD 為一周起始', dateStatus: '選擇 m月 d日, DD', dayStatus: '設定 DD 為一周起始', dateStatus: '選擇 m月 d日, DD',
dateFormat: 'yy/mm/dd', firstDay: 1, dateFormat: 'yy/mm/dd', firstDay: 1,
initStatus: '請選擇日期', isRTL: false}; initStatus: '請選擇日期', isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['zh-TW']); $.datepicker.setDefaults($.datepicker.regional['zh-TW']);
}); });

View File

@ -1,6 +1,6 @@
/* /*
* jQuery UI Accordion @VERSION * jQuery UI Accordion @VERSION
* *
* Copyright (c) 2007, 2008 Jörn Zaefferer * Copyright (c) 2007, 2008 Jörn Zaefferer
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.

View File

@ -4,7 +4,7 @@
* Copyright (c) 2006, 2007, 2008 Marc Grabanski * Copyright (c) 2006, 2007, 2008 Marc Grabanski
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.
* *
* http://docs.jquery.com/UI/Datepicker * http://docs.jquery.com/UI/Datepicker
* *
* Depends: * Depends:
@ -12,7 +12,7 @@
* *
* Marc Grabanski (m@marcgrabanski.com) and Keith Wood (kbwood@virginbroadband.com.au). * Marc Grabanski (m@marcgrabanski.com) and Keith Wood (kbwood@virginbroadband.com.au).
*/ */
(function($) { // hide the namespace (function($) { // hide the namespace
$.extend($.ui, { datepicker: { version: "@VERSION" } }); $.extend($.ui, { datepicker: { version: "@VERSION" } });
@ -146,7 +146,7 @@ $.extend(Datepicker.prototype, {
console.log.apply('', arguments); console.log.apply('', arguments);
}, },
/* Override the default settings for all instances of the date picker. /* Override the default settings for all instances of the date picker.
@param settings object - the new settings to use as defaults (anonymous object) @param settings object - the new settings to use as defaults (anonymous object)
@return the manager object */ @return the manager object */
setDefaults: function(settings) { setDefaults: function(settings) {
@ -176,7 +176,7 @@ $.extend(Datepicker.prototype, {
if (!target.id) if (!target.id)
target.id = 'dp' + (++this.uuid); target.id = 'dp' + (++this.uuid);
var inst = this._newInst($(target), inline); var inst = this._newInst($(target), inline);
inst.settings = $.extend({}, settings || {}, inlineSettings || {}); inst.settings = $.extend({}, settings || {}, inlineSettings || {});
if (nodeName == 'input') { if (nodeName == 'input') {
this._connectDatepicker(target, inst); this._connectDatepicker(target, inst);
} else if (inline) { } else if (inline) {
@ -210,7 +210,7 @@ $.extend(Datepicker.prototype, {
if (showOn == 'button' || showOn == 'both') { // pop-up date picker when button clicked if (showOn == 'button' || showOn == 'both') { // pop-up date picker when button clicked
var buttonText = this._get(inst, 'buttonText'); var buttonText = this._get(inst, 'buttonText');
var buttonImage = this._get(inst, 'buttonImage'); var buttonImage = this._get(inst, 'buttonImage');
var trigger = $(this._get(inst, 'buttonImageOnly') ? var trigger = $(this._get(inst, 'buttonImageOnly') ?
$('<img/>').addClass(this._triggerClass). $('<img/>').addClass(this._triggerClass).
attr({ src: buttonImage, alt: buttonText, title: buttonText }) : attr({ src: buttonImage, alt: buttonText, title: buttonText }) :
$('<button type="button"></button>').addClass(this._triggerClass). $('<button type="button"></button>').addClass(this._triggerClass).
@ -248,7 +248,7 @@ $.extend(Datepicker.prototype, {
$.data(target, PROP_NAME, inst); $.data(target, PROP_NAME, inst);
this._setDate(inst, this._getDefaultDate(inst)); this._setDate(inst, this._getDefaultDate(inst));
this._updateDatepicker(inst); this._updateDatepicker(inst);
this._updateAlternate(inst); this._updateAlternate(inst);
}, },
/* Pop-up the date picker in a "dialog" box. /* Pop-up the date picker in a "dialog" box.
@ -464,7 +464,7 @@ $.extend(Datepicker.prototype, {
_getDateDatepicker: function(target) { _getDateDatepicker: function(target) {
var inst = this._getInst(target); var inst = this._getInst(target);
if (inst && !inst.inline) if (inst && !inst.inline)
this._setDateFromField(inst); this._setDateFromField(inst);
return (inst ? this._getDate(inst) : null); return (inst ? this._getDate(inst) : null);
}, },
@ -497,7 +497,7 @@ $.extend(Datepicker.prototype, {
break; // next month/year on page down/+ ctrl break; // next month/year on page down/+ ctrl
case 35: if (event.ctrlKey || event.metaKey) $.datepicker._clearDate(event.target); case 35: if (event.ctrlKey || event.metaKey) $.datepicker._clearDate(event.target);
handled = event.ctrlKey || event.metaKey; handled = event.ctrlKey || event.metaKey;
break; // clear on ctrl or command +end break; // clear on ctrl or command +end
case 36: if (event.ctrlKey || event.metaKey) $.datepicker._gotoToday(event.target); case 36: if (event.ctrlKey || event.metaKey) $.datepicker._gotoToday(event.target);
handled = event.ctrlKey || event.metaKey; handled = event.ctrlKey || event.metaKey;
break; // current on ctrl or command +home break; // current on ctrl or command +home
@ -508,7 +508,7 @@ $.extend(Datepicker.prototype, {
-$.datepicker._get(inst, 'stepBigMonths') : -$.datepicker._get(inst, 'stepBigMonths') :
-$.datepicker._get(inst, 'stepMonths')), 'M'); -$.datepicker._get(inst, 'stepMonths')), 'M');
// next month/year on alt +left on Mac // next month/year on alt +left on Mac
break; break;
case 38: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, -7, 'D'); case 38: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, -7, 'D');
handled = event.ctrlKey || event.metaKey; handled = event.ctrlKey || event.metaKey;
break; // -1 week on ctrl or command +up break; // -1 week on ctrl or command +up
@ -519,7 +519,7 @@ $.extend(Datepicker.prototype, {
+$.datepicker._get(inst, 'stepBigMonths') : +$.datepicker._get(inst, 'stepBigMonths') :
+$.datepicker._get(inst, 'stepMonths')), 'M'); +$.datepicker._get(inst, 'stepMonths')), 'M');
// next month/year on alt +right // next month/year on alt +right
break; break;
case 40: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, +7, 'D'); case 40: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, +7, 'D');
handled = event.ctrlKey || event.metaKey; handled = event.ctrlKey || event.metaKey;
break; // +1 week on ctrl or command +down break; // +1 week on ctrl or command +down
@ -631,7 +631,7 @@ $.extend(Datepicker.prototype, {
_checkOffset: function(inst, offset, isFixed) { _checkOffset: function(inst, offset, isFixed) {
var pos = inst.input ? this._findPos(inst.input[0]) : null; var pos = inst.input ? this._findPos(inst.input[0]) : null;
var browserWidth = window.innerWidth || (document.documentElement ? var browserWidth = window.innerWidth || (document.documentElement ?
document.documentElement.clientWidth : document.body.clientWidth); document.documentElement.clientWidth : document.body.clientWidth);
var browserHeight = window.innerHeight || (document.documentElement ? var browserHeight = window.innerHeight || (document.documentElement ?
document.documentElement.clientHeight : document.body.clientHeight); document.documentElement.clientHeight : document.body.clientHeight);
var scrollX = document.documentElement.scrollLeft || document.body.scrollLeft; var scrollX = document.documentElement.scrollLeft || document.body.scrollLeft;
@ -793,7 +793,7 @@ $.extend(Datepicker.prototype, {
if (inst.stayOpen) { if (inst.stayOpen) {
$('.ui-datepicker td', inst.dpDiv).removeClass(this._currentClass); $('.ui-datepicker td', inst.dpDiv).removeClass(this._currentClass);
$(td).addClass(this._currentClass); $(td).addClass(this._currentClass);
} }
} }
inst.selectedDay = inst.currentDay = $('a', td).html(); inst.selectedDay = inst.currentDay = $('a', td).html();
inst.selectedMonth = inst.currentMonth = month; inst.selectedMonth = inst.currentMonth = month;
@ -998,17 +998,17 @@ $.extend(Datepicker.prototype, {
case 'd': case 'd':
day = getNumber('d'); day = getNumber('d');
break; break;
case 'D': case 'D':
getName('D', dayNamesShort, dayNames); getName('D', dayNamesShort, dayNames);
break; break;
case 'o': case 'o':
doy = getNumber('o'); doy = getNumber('o');
break; break;
case 'm': case 'm':
month = getNumber('m'); month = getNumber('m');
break; break;
case 'M': case 'M':
month = getName('M', monthNamesShort, monthNames); month = getName('M', monthNamesShort, monthNames);
break; break;
case 'y': case 'y':
year = getNumber('y'); year = getNumber('y');
@ -1130,7 +1130,7 @@ $.extend(Datepicker.prototype, {
case 'd': case 'd':
output += formatNumber('d', date.getDate(), 2); output += formatNumber('d', date.getDate(), 2);
break; break;
case 'D': case 'D':
output += formatName('D', date.getDay(), dayNamesShort, dayNames); output += formatName('D', date.getDay(), dayNamesShort, dayNames);
break; break;
case 'o': case 'o':
@ -1139,18 +1139,18 @@ $.extend(Datepicker.prototype, {
doy += this._getDaysInMonth(date.getFullYear(), m); doy += this._getDaysInMonth(date.getFullYear(), m);
output += formatNumber('o', doy, 3); output += formatNumber('o', doy, 3);
break; break;
case 'm': case 'm':
output += formatNumber('m', date.getMonth() + 1, 2); output += formatNumber('m', date.getMonth() + 1, 2);
break; break;
case 'M': case 'M':
output += formatName('M', date.getMonth(), monthNamesShort, monthNames); output += formatName('M', date.getMonth(), monthNamesShort, monthNames);
break; break;
case 'y': case 'y':
output += (lookAhead('y') ? date.getFullYear() : output += (lookAhead('y') ? date.getFullYear() :
(date.getYear() % 100 < 10 ? '0' : '') + date.getYear() % 100); (date.getYear() % 100 < 10 ? '0' : '') + date.getYear() % 100);
break; break;
case '@': case '@':
output += date.getTime(); output += date.getTime();
break; break;
case "'": case "'":
if (lookAhead("'")) if (lookAhead("'"))
@ -1178,7 +1178,7 @@ $.extend(Datepicker.prototype, {
else else
switch (format.charAt(iFormat)) { switch (format.charAt(iFormat)) {
case 'd': case 'm': case 'y': case '@': case 'd': case 'm': case 'y': case '@':
chars += '0123456789'; chars += '0123456789';
break; break;
case 'D': case 'M': case 'D': case 'M':
return null; // Accept anything return null; // Accept anything
@ -1203,7 +1203,7 @@ $.extend(Datepicker.prototype, {
/* Parse existing date and initialise date picker. */ /* Parse existing date and initialise date picker. */
_setDateFromField: function(inst) { _setDateFromField: function(inst) {
var dateFormat = this._get(inst, 'dateFormat'); var dateFormat = this._get(inst, 'dateFormat');
var dates = inst.input ? inst.input.val().split(this._get(inst, 'rangeSeparator')) : null; var dates = inst.input ? inst.input.val().split(this._get(inst, 'rangeSeparator')) : null;
inst.endDay = inst.endMonth = inst.endYear = null; inst.endDay = inst.endMonth = inst.endYear = null;
var date = defaultDate = this._getDefaultDate(inst); var date = defaultDate = this._getDefaultDate(inst);
if (dates.length > 0) { if (dates.length > 0) {
@ -1261,7 +1261,7 @@ $.extend(Datepicker.prototype, {
case 'w' : case 'W' : case 'w' : case 'W' :
day += parseInt(matches[1],10) * 7; break; day += parseInt(matches[1],10) * 7; break;
case 'm' : case 'M' : case 'm' : case 'M' :
month += parseInt(matches[1],10); month += parseInt(matches[1],10);
day = Math.min(day, getDaysInMonth(year, month)); day = Math.min(day, getDaysInMonth(year, month));
break; break;
case 'y': case 'Y' : case 'y': case 'Y' :
@ -1288,7 +1288,7 @@ $.extend(Datepicker.prototype, {
/* Handle switch to/from daylight saving. /* Handle switch to/from daylight saving.
Hours may be non-zero on daylight saving cut-over: Hours may be non-zero on daylight saving cut-over:
> 12 when midnight changeover, but then cannot generate > 12 when midnight changeover, but then cannot generate
midnight datetime, so jump to 1AM, otherwise reset. midnight datetime, so jump to 1AM, otherwise reset.
@param date (Date) the date to check @param date (Date) the date to check
@return (Date) the corrected date */ @return (Date) the corrected date */
@ -1399,7 +1399,7 @@ $.extend(Datepicker.prototype, {
prevBigText = (!navigationAsDateFormat ? prevBigText : this.formatDate(prevBigText, prevBigText = (!navigationAsDateFormat ? prevBigText : this.formatDate(prevBigText,
this._daylightSavingAdjust(new Date(drawYear, drawMonth - stepBigMonths, 1)), this._daylightSavingAdjust(new Date(drawYear, drawMonth - stepBigMonths, 1)),
this._getFormatConfig(inst))); this._getFormatConfig(inst)));
var prev = '<div class="ui-datepicker-prev">' + (this._canAdjustMonth(inst, -1, drawYear, drawMonth) ? var prev = '<div class="ui-datepicker-prev">' + (this._canAdjustMonth(inst, -1, drawYear, drawMonth) ?
(showBigPrevNext ? '<a onclick="jQuery.datepicker._adjustDate(\'#' + inst.id + '\', -' + stepBigMonths + ', \'M\');"' + (showBigPrevNext ? '<a onclick="jQuery.datepicker._adjustDate(\'#' + inst.id + '\', -' + stepBigMonths + ', \'M\');"' +
this._addStatus(showStatus, inst.id, this._get(inst, 'prevBigStatus'), initStatus) + '>' + prevBigText + '</a>' : '') + this._addStatus(showStatus, inst.id, this._get(inst, 'prevBigStatus'), initStatus) + '>' + prevBigText + '</a>' : '') +
'<a onclick="jQuery.datepicker._adjustDate(\'#' + inst.id + '\', -' + stepMonths + ', \'M\');"' + '<a onclick="jQuery.datepicker._adjustDate(\'#' + inst.id + '\', -' + stepMonths + ', \'M\');"' +
@ -1422,7 +1422,7 @@ $.extend(Datepicker.prototype, {
(hideIfNoPrevNext ? '' : '<label>' + nextText + '</label>' + (hideIfNoPrevNext ? '' : '<label>' + nextText + '</label>' +
(showBigPrevNext ? '<label>' + nextBigText + '</label>' : ''))) + '</div>'; (showBigPrevNext ? '<label>' + nextBigText + '</label>' : ''))) + '</div>';
var currentText = this._get(inst, 'currentText'); var currentText = this._get(inst, 'currentText');
var gotoDate = (this._get(inst, 'gotoCurrent') && inst.currentDay ? currentDate : today); var gotoDate = (this._get(inst, 'gotoCurrent') && inst.currentDay ? currentDate : today);
currentText = (!navigationAsDateFormat ? currentText : currentText = (!navigationAsDateFormat ? currentText :
this.formatDate(currentText, gotoDate, this._getFormatConfig(inst))); this.formatDate(currentText, gotoDate, this._getFormatConfig(inst)));
var html = (closeAtTop && !inst.inline ? controls : '') + var html = (closeAtTop && !inst.inline ? controls : '') +
@ -1455,7 +1455,7 @@ $.extend(Datepicker.prototype, {
html += '<div class="ui-datepicker-one-month' + (col == 0 ? ' ui-datepicker-new-row' : '') + '">' + html += '<div class="ui-datepicker-one-month' + (col == 0 ? ' ui-datepicker-new-row' : '') + '">' +
this._generateMonthYearHeader(inst, drawMonth, drawYear, minDate, maxDate, this._generateMonthYearHeader(inst, drawMonth, drawYear, minDate, maxDate,
selectedDate, row > 0 || col > 0, showStatus, initStatus, monthNames) + // draw month headers selectedDate, row > 0 || col > 0, showStatus, initStatus, monthNames) + // draw month headers
'<table class="ui-datepicker" cellpadding="0" cellspacing="0"><thead>' + '<table class="ui-datepicker" cellpadding="0" cellspacing="0"><thead>' +
'<tr class="ui-datepicker-title-row">' + '<tr class="ui-datepicker-title-row">' +
(showWeeks ? '<td' + this._addStatus(showStatus, inst.id, weekStatus, initStatus) + '>' + (showWeeks ? '<td' + this._addStatus(showStatus, inst.id, weekStatus, initStatus) + '>' +
this._get(inst, 'weekHeader') + '</td>' : ''); this._get(inst, 'weekHeader') + '</td>' : '');
@ -1465,7 +1465,7 @@ $.extend(Datepicker.prototype, {
status.replace(/D/, dayNamesShort[day])); status.replace(/D/, dayNamesShort[day]));
html += '<td' + ((dow + firstDay + 6) % 7 >= 5 ? ' class="ui-datepicker-week-end-cell"' : '') + '>' + html += '<td' + ((dow + firstDay + 6) % 7 >= 5 ? ' class="ui-datepicker-week-end-cell"' : '') + '>' +
(!changeFirstDay ? '<span' : (!changeFirstDay ? '<span' :
'<a onclick="jQuery.datepicker._changeFirstDay(\'#' + inst.id + '\', ' + day + ');"') + '<a onclick="jQuery.datepicker._changeFirstDay(\'#' + inst.id + '\', ' + day + ');"') +
this._addStatus(showStatus, inst.id, dayStatus, initStatus) + ' title="' + dayNames[day] + '">' + this._addStatus(showStatus, inst.id, dayStatus, initStatus) + ' title="' + dayNames[day] + '">' +
dayNamesMin[day] + (changeFirstDay ? '</a>' : '</span>') + '</td>'; dayNamesMin[day] + (changeFirstDay ? '</a>' : '</span>') + '</td>';
} }
@ -1526,11 +1526,11 @@ $.extend(Datepicker.prototype, {
} }
html += '</tbody></table></div>'; html += '</tbody></table></div>';
} }
html += (showStatus ? '<div style="clear: both;"></div><div id="ui-datepicker-status-' + inst.id + html += (showStatus ? '<div style="clear: both;"></div><div id="ui-datepicker-status-' + inst.id +
'" class="ui-datepicker-status">' + initStatus + '</div>' : '') + '" class="ui-datepicker-status">' + initStatus + '</div>' : '') +
(!closeAtTop && !inst.inline ? controls : '') + (!closeAtTop && !inst.inline ? controls : '') +
'<div style="clear: both;"></div>' + '<div style="clear: both;"></div>' +
($.browser.msie && parseInt($.browser.version,10) < 7 && !inst.inline ? ($.browser.msie && parseInt($.browser.version,10) < 7 && !inst.inline ?
'<iframe src="javascript:false;" class="ui-datepicker-cover"></iframe>' : ''); '<iframe src="javascript:false;" class="ui-datepicker-cover"></iframe>' : '');
inst._keyEvent = false; inst._keyEvent = false;
return html; return html;

View File

@ -4,7 +4,7 @@
* Copyright (c) 2008 Richard D. Worth (rdworth.org) * Copyright (c) 2008 Richard D. Worth (rdworth.org)
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.
* *
* http://docs.jquery.com/UI/Dialog * http://docs.jquery.com/UI/Dialog
* *
* Depends: * Depends:

View File

@ -4,7 +4,7 @@
* Copyright (c) 2008 Paul Bakaus * Copyright (c) 2008 Paul Bakaus
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.
* *
* http://docs.jquery.com/UI/Droppables * http://docs.jquery.com/UI/Droppables
* *
* Depends: * Depends:

View File

@ -4,7 +4,7 @@
* Copyright (c) 2008 Eduardo Lundgren * Copyright (c) 2008 Eduardo Lundgren
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.
* *
* http://docs.jquery.com/UI/Resizables * http://docs.jquery.com/UI/Resizables
* *
* Depends: * Depends:
@ -82,7 +82,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
var oel = this.element; this.element = this.element.parent(); var oel = this.element; this.element = this.element.parent();
// store instance on wrapper // store instance on wrapper
this.element.data('resizable', this); this.element.data('resizable', this);
//Move margins to the wrapper //Move margins to the wrapper
this.element.css({ marginLeft: oel.css("marginLeft"), marginTop: oel.css("marginTop"), this.element.css({ marginLeft: oel.css("marginLeft"), marginTop: oel.css("marginTop"),
@ -126,13 +126,13 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
}; };
for(var i = 0; i < n.length; i++) { for(var i = 0; i < n.length; i++) {
var handle = $.trim(n[i]), dt = o.defaultTheme, hname = 'ui-resizable-'+handle, loadDefault = !$.ui.css(hname) && !o.knobHandles, userKnobClass = $.ui.css('ui-resizable-knob-handle'), var handle = $.trim(n[i]), dt = o.defaultTheme, hname = 'ui-resizable-'+handle, loadDefault = !$.ui.css(hname) && !o.knobHandles, userKnobClass = $.ui.css('ui-resizable-knob-handle'),
allDefTheme = $.extend(dt[hname], dt['ui-resizable-handle']), allKnobTheme = $.extend(o.knobTheme[hname], !userKnobClass ? o.knobTheme['ui-resizable-handle'] : {}); allDefTheme = $.extend(dt[hname], dt['ui-resizable-handle']), allKnobTheme = $.extend(o.knobTheme[hname], !userKnobClass ? o.knobTheme['ui-resizable-handle'] : {});
// increase zIndex of sw, se, ne, nw axis // increase zIndex of sw, se, ne, nw axis
var applyZIndex = /sw|se|ne|nw/.test(handle) ? { zIndex: ++o.zIndex } : {}; var applyZIndex = /sw|se|ne|nw/.test(handle) ? { zIndex: ++o.zIndex } : {};
var defCss = (loadDefault ? insertionsDefault[handle] : ''), var defCss = (loadDefault ? insertionsDefault[handle] : ''),
axis = $(['<div class="ui-resizable-handle ', hname, '" style="', defCss, insertionsDefault.handle, '"></div>'].join('')).css( applyZIndex ); axis = $(['<div class="ui-resizable-handle ', hname, '" style="', defCss, insertionsDefault.handle, '"></div>'].join('')).css( applyZIndex );
o.handles[handle] = '.ui-resizable-'+handle; o.handles[handle] = '.ui-resizable-'+handle;
@ -158,7 +158,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
o.handles[i].css({opacity:0}); o.handles[i].css({opacity:0});
//Apply pad to wrapper element, needed to fix axis position (textarea, inputs, scrolls) //Apply pad to wrapper element, needed to fix axis position (textarea, inputs, scrolls)
if (this.element.is('.ui-wrapper') && if (this.element.is('.ui-wrapper') &&
o._nodeName.match(/textarea|input|select|button/i)) { o._nodeName.match(/textarea|input|select|button/i)) {
var axis = $(o.handles[i], this.element), padWrapper = 0; var axis = $(o.handles[i], this.element), padWrapper = 0;
@ -167,10 +167,10 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
padWrapper = /sw|ne|nw|se|n|s/.test(i) ? axis.outerHeight() : axis.outerWidth(); padWrapper = /sw|ne|nw|se|n|s/.test(i) ? axis.outerHeight() : axis.outerWidth();
//The padding type i have to apply... //The padding type i have to apply...
var padPos = [ 'padding', var padPos = [ 'padding',
/ne|nw|n/.test(i) ? 'Top' : /ne|nw|n/.test(i) ? 'Top' :
/se|sw|s/.test(i) ? 'Bottom' : /se|sw|s/.test(i) ? 'Bottom' :
/^e$/.test(i) ? 'Right' : 'Left' ].join(""); /^e$/.test(i) ? 'Right' : 'Left' ].join("");
if (!o.transparent) if (!o.transparent)
target.css(padPos, padWrapper); target.css(padPos, padWrapper);
@ -274,7 +274,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
_mouseStart: function(event) { _mouseStart: function(event) {
var o = this.options, iniPos = this.element.position(), el = this.element, var o = this.options, iniPos = this.element.position(), el = this.element,
num = function(v) { return parseInt(v, 10) || 0; }, ie6 = $.browser.msie && $.browser.version < 7; num = function(v) { return parseInt(v, 10) || 0; }, ie6 = $.browser.msie && $.browser.version < 7;
o.resizing = true; o.resizing = true;
o.documentScroll = { top: $(document).scrollTop(), left: $(document).scrollLeft() }; o.documentScroll = { top: $(document).scrollTop(), left: $(document).scrollLeft() };
@ -344,7 +344,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
this._propagate("resize", event); this._propagate("resize", event);
el.css({ el.css({
top: this.position.top + "px", left: this.position.left + "px", top: this.position.top + "px", left: this.position.left + "px",
width: this.size.width + "px", height: this.size.height + "px" width: this.size.width + "px", height: this.size.height + "px"
}); });
@ -364,12 +364,12 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
var o = this.options, num = function(v) { return parseInt(v, 10) || 0; }, self = this; var o = this.options, num = function(v) { return parseInt(v, 10) || 0; }, self = this;
if(o.helper) { if(o.helper) {
var pr = o.proportionallyResize, ista = pr && (/textarea/i).test(pr.get(0).nodeName), var pr = o.proportionallyResize, ista = pr && (/textarea/i).test(pr.get(0).nodeName),
soffseth = ista && $.ui.hasScroll(pr.get(0), 'left') /* TODO - jump height */ ? 0 : self.sizeDiff.height, soffseth = ista && $.ui.hasScroll(pr.get(0), 'left') /* TODO - jump height */ ? 0 : self.sizeDiff.height,
soffsetw = ista ? 0 : self.sizeDiff.width; soffsetw = ista ? 0 : self.sizeDiff.width;
var s = { width: (self.size.width - soffsetw), height: (self.size.height - soffseth) }, var s = { width: (self.size.width - soffsetw), height: (self.size.height - soffseth) },
left = (parseInt(self.element.css('left'), 10) + (self.position.left - self.originalPosition.left)) || null, left = (parseInt(self.element.css('left'), 10) + (self.position.left - self.originalPosition.left)) || null,
top = (parseInt(self.element.css('top'), 10) + (self.position.top - self.originalPosition.top)) || null; top = (parseInt(self.element.css('top'), 10) + (self.position.top - self.originalPosition.top)) || null;
if (!o.animate) if (!o.animate)
@ -406,7 +406,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
data.left = cpos.left + (csize.width - data.width); data.left = cpos.left + (csize.width - data.width);
data.top = null; data.top = null;
} }
if (a == 'nw') { if (a == 'nw') {
data.top = cpos.top + (csize.height - data.height); data.top = cpos.top + (csize.height - data.height);
data.left = cpos.left + (csize.width - data.width); data.left = cpos.left + (csize.width - data.width);
} }
@ -415,7 +415,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
}, },
_respectSize: function(data, event) { _respectSize: function(data, event) {
var el = this.helper, o = this.options, pRatio = o._aspectRatio || event.shiftKey, a = this.axis, var el = this.helper, o = this.options, pRatio = o._aspectRatio || event.shiftKey, a = this.axis,
ismaxw = data.width && o.maxWidth && o.maxWidth < data.width, ismaxh = data.height && o.maxHeight && o.maxHeight < data.height, ismaxw = data.width && o.maxWidth && o.maxWidth < data.width, ismaxh = data.height && o.maxHeight && o.maxHeight < data.height,
isminw = data.width && o.minWidth && o.minWidth > data.width, isminh = data.height && o.minHeight && o.minHeight > data.height; isminw = data.width && o.minWidth && o.minWidth > data.width, isminh = data.height && o.minHeight && o.minHeight > data.height;
@ -450,7 +450,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
o.borderDif = $.map(b, function(v, i) { o.borderDif = $.map(b, function(v, i) {
var border = parseInt(v,10)||0, padding = parseInt(p[i],10)||0; var border = parseInt(v,10)||0, padding = parseInt(p[i],10)||0;
return border + padding; return border + padding;
}); });
} }
prel.css({ prel.css({
@ -484,7 +484,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
$.ui.disableSelection(this.helper.get(0)); $.ui.disableSelection(this.helper.get(0));
} else { } else {
this.helper = el; this.helper = el;
} }
}, },
_change: { _change: {
@ -562,8 +562,8 @@ $.ui.plugin.add("resizable", "containment", {
self.containerOffset = { left: 0, top: 0 }; self.containerOffset = { left: 0, top: 0 };
self.containerPosition = { left: 0, top: 0 }; self.containerPosition = { left: 0, top: 0 };
self.parentData = { self.parentData = {
element: $(document), left: 0, top: 0, element: $(document), left: 0, top: 0,
width: $(document).width(), height: $(document).height() || document.body.parentNode.scrollHeight width: $(document).width(), height: $(document).height() || document.body.parentNode.scrollHeight
}; };
} }
@ -574,17 +574,17 @@ $.ui.plugin.add("resizable", "containment", {
self.containerPosition = $(ce).position(); self.containerPosition = $(ce).position();
self.containerSize = { height: $(ce).innerHeight(), width: $(ce).innerWidth() }; self.containerSize = { height: $(ce).innerHeight(), width: $(ce).innerWidth() };
var co = self.containerOffset, ch = self.containerSize.height, cw = self.containerSize.width, var co = self.containerOffset, ch = self.containerSize.height, cw = self.containerSize.width,
width = ($.ui.hasScroll(ce, "left") ? ce.scrollWidth : cw ), height = ($.ui.hasScroll(ce) ? ce.scrollHeight : ch); width = ($.ui.hasScroll(ce, "left") ? ce.scrollWidth : cw ), height = ($.ui.hasScroll(ce) ? ce.scrollHeight : ch);
self.parentData = { self.parentData = {
element: ce, left: co.left, top: co.top, width: width, height: height element: ce, left: co.left, top: co.top, width: width, height: height
}; };
} }
}, },
resize: function(event, ui) { resize: function(event, ui) {
var o = ui.options, self = $(this).data("resizable"), var o = ui.options, self = $(this).data("resizable"),
ps = self.containerSize, co = self.containerOffset, cs = self.size, cp = self.position, ps = self.containerSize, co = self.containerOffset, cs = self.size, cp = self.position,
pRatio = o._aspectRatio || event.shiftKey, cop = { top:0, left:0 }, ce = self.containerElement; pRatio = o._aspectRatio || event.shiftKey, cop = { top:0, left:0 }, ce = self.containerElement;
@ -603,7 +603,7 @@ $.ui.plugin.add("resizable", "containment", {
self.position.top = o.helper ? co.top : 0; self.position.top = o.helper ? co.top : 0;
} }
var woset = (o.helper ? self.offset.left - co.left : (self.position.left - cop.left)) + self.sizeDiff.width, var woset = (o.helper ? self.offset.left - co.left : (self.position.left - cop.left)) + self.sizeDiff.width,
hoset = (o.helper ? self.offset.top - co.top : self.position.top) + self.sizeDiff.height; hoset = (o.helper ? self.offset.top - co.top : self.position.top) + self.sizeDiff.height;
if (woset + self.size.width >= self.parentData.width) { if (woset + self.size.width >= self.parentData.width) {
@ -668,18 +668,18 @@ $.ui.plugin.add("resizable", "animate", {
stop: function(event, ui) { stop: function(event, ui) {
var o = ui.options, self = $(this).data("resizable"); var o = ui.options, self = $(this).data("resizable");
var pr = o.proportionallyResize, ista = pr && (/textarea/i).test(pr.get(0).nodeName), var pr = o.proportionallyResize, ista = pr && (/textarea/i).test(pr.get(0).nodeName),
soffseth = ista && $.ui.hasScroll(pr.get(0), 'left') /* TODO - jump height */ ? 0 : self.sizeDiff.height, soffseth = ista && $.ui.hasScroll(pr.get(0), 'left') /* TODO - jump height */ ? 0 : self.sizeDiff.height,
soffsetw = ista ? 0 : self.sizeDiff.width; soffsetw = ista ? 0 : self.sizeDiff.width;
var style = { width: (self.size.width - soffsetw), height: (self.size.height - soffseth) }, var style = { width: (self.size.width - soffsetw), height: (self.size.height - soffseth) },
left = (parseInt(self.element.css('left'), 10) + (self.position.left - self.originalPosition.left)) || null, left = (parseInt(self.element.css('left'), 10) + (self.position.left - self.originalPosition.left)) || null,
top = (parseInt(self.element.css('top'), 10) + (self.position.top - self.originalPosition.top)) || null; top = (parseInt(self.element.css('top'), 10) + (self.position.top - self.originalPosition.top)) || null;
self.element.animate( self.element.animate(
$.extend(style, top && left ? { top: top, left: left } : {}), { $.extend(style, top && left ? { top: top, left: left } : {}), {
duration: o.animateDuration, duration: o.animateDuration,
easing: o.animateEasing, easing: o.animateEasing,
step: function() { step: function() {
var data = { var data = {
@ -736,7 +736,7 @@ $.ui.plugin.add("resizable", "ghost", {
$.ui.plugin.add("resizable", "alsoResize", { $.ui.plugin.add("resizable", "alsoResize", {
start: function(event, ui) { start: function(event, ui) {
var o = ui.options, self = $(this).data("resizable"), var o = ui.options, self = $(this).data("resizable"),
_store = function(exp) { _store = function(exp) {
$(exp).each(function() { $(exp).each(function() {
@ -752,13 +752,13 @@ $.ui.plugin.add("resizable", "alsoResize", {
else { $.each(o.alsoResize, function(exp, c) { _store(exp); }); } else { $.each(o.alsoResize, function(exp, c) { _store(exp); }); }
}else{ }else{
_store(o.alsoResize); _store(o.alsoResize);
} }
}, },
resize: function(event, ui){ resize: function(event, ui){
var o = ui.options, self = $(this).data("resizable"), os = self.originalSize, op = self.originalPosition; var o = ui.options, self = $(this).data("resizable"), os = self.originalSize, op = self.originalPosition;
var delta = { var delta = {
height: (self.size.height - os.height) || 0, width: (self.size.width - os.width) || 0, height: (self.size.height - os.height) || 0, width: (self.size.width - os.width) || 0,
top: (self.position.top - op.top) || 0, left: (self.position.left - op.left) || 0 top: (self.position.top - op.top) || 0, left: (self.position.left - op.left) || 0
}, },

View File

@ -4,7 +4,7 @@
* Copyright (c) 2008 Richard D. Worth (rdworth.org) * Copyright (c) 2008 Richard D. Worth (rdworth.org)
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.
* *
* http://docs.jquery.com/UI/Selectables * http://docs.jquery.com/UI/Selectables
* *
* Depends: * Depends:

View File

@ -4,7 +4,7 @@
* Copyright (c) 2008 Paul Bakaus * Copyright (c) 2008 Paul Bakaus
* Dual licensed under the MIT (MIT-LICENSE.txt) * Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses. * and GPL (GPL-LICENSE.txt) licenses.
* *
* http://docs.jquery.com/UI/Slider * http://docs.jquery.com/UI/Slider
* *
* Depends: * Depends:

View File

@ -193,7 +193,7 @@ $.widget("ui.tabs", {
}; };
// Hide a tab, $show is optional... // Hide a tab, $show is optional...
var hideTab = hideFx ? var hideTab = hideFx ?
function(clicked, $hide, $show) { function(clicked, $hide, $show) {
$hide.animate(hideFx, hideFx.duration || 'normal', function() { $hide.animate(hideFx, hideFx.duration || 'normal', function() {
$hide.addClass(o.hideClass); $hide.addClass(o.hideClass);
@ -222,7 +222,7 @@ $.widget("ui.tabs", {
$hide = self.$panels.filter(':visible'), $hide = self.$panels.filter(':visible'),
$show = $(self._sanitizeSelector(this.hash)); $show = $(self._sanitizeSelector(this.hash));
// If tab is already selected and not deselectable or tab disabled or // If tab is already selected and not deselectable or tab disabled or
// or is already loading or click callback returns false stop here. // or is already loading or click callback returns false stop here.
// Check if click handler returns false last so that it is not executed // Check if click handler returns false last so that it is not executed
// for a disabled or loading tab! // for a disabled or loading tab!
@ -266,7 +266,7 @@ $.widget("ui.tabs", {
// show new tab // show new tab
if ($show.length) { if ($show.length) {
var a = this; var a = this;
self.load(self.$tabs.index(this), $hide.length ? self.load(self.$tabs.index(this), $hide.length ?
function() { function() {
switchTab(a, $li, $hide, $show); switchTab(a, $li, $hide, $show);
} : } :
@ -438,7 +438,7 @@ $.widget("ui.tabs", {
catch (event) {} catch (event) {}
// This callback is required because the switch has to take // This callback is required because the switch has to take
// place after loading has completed. Call last in order to // place after loading has completed. Call last in order to
// fire load before show callback... // fire load before show callback...
callback(); callback();
} }