diff options
52 files changed, 154 insertions, 154 deletions
diff --git a/ui/effects.blind.js b/ui/effects.blind.js index e56dfba65..610842a29 100644 --- a/ui/effects.blind.js +++ b/ui/effects.blind.js @@ -4,7 +4,7 @@ * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. - * + * * http://docs.jquery.com/UI/Effects/Blind * * Depends: @@ -33,7 +33,7 @@ $.effects.blind = function(o) { // Animation var animation = {}; animation[ref] = mode == 'show' ? distance : 0; - + // Animate wrapper.animate(animation, o.duration, o.options.easing, function() { if(mode == 'hide') el.hide(); // Hide diff --git a/ui/effects.bounce.js b/ui/effects.bounce.js index b32b5ba66..932bdde85 100644 --- a/ui/effects.bounce.js +++ b/ui/effects.bounce.js @@ -4,7 +4,7 @@ * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. - * + * * http://docs.jquery.com/UI/Effects/Bounce * * Depends: diff --git a/ui/effects.clip.js b/ui/effects.clip.js index 46d59472f..1170d3e27 100644 --- a/ui/effects.clip.js +++ b/ui/effects.clip.js @@ -4,7 +4,7 @@ * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. - * + * * http://docs.jquery.com/UI/Effects/Clip * * Depends: diff --git a/ui/effects.core.js b/ui/effects.core.js index 286360537..c48676b83 100644 --- a/ui/effects.core.js +++ b/ui/effects.core.js @@ -4,7 +4,7 @@ * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. - * + * * http://docs.jquery.com/UI/Effects/ */ ;(function($) { @@ -308,33 +308,33 @@ var colors = { * to offer multiple easing options * * TERMS OF USE - jQuery Easing - * - * Open source under the BSD License. - * + * + * Open source under the BSD License. + * * Copyright © 2008 George McGinley Smith * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without modification, * 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. - * 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 + * 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 * 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. - * - * 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 * 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, * 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 - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - * OF THE POSSIBILITY OF SUCH DAMAGE. + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. * */ @@ -477,33 +477,33 @@ $.extend($.easing, /* * * TERMS OF USE - EASING EQUATIONS - * - * Open source under the BSD License. - * + * + * Open source under the BSD License. + * * Copyright © 2001 Robert Penner * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without modification, * 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. - * 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 + * 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 * 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. - * - * 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 * 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, * 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 - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - * OF THE POSSIBILITY OF SUCH DAMAGE. + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. * */ diff --git a/ui/effects.drop.js b/ui/effects.drop.js index 13a8fffa6..28ae2fe7e 100644 --- a/ui/effects.drop.js +++ b/ui/effects.drop.js @@ -4,7 +4,7 @@ * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. - * + * * http://docs.jquery.com/UI/Effects/Drop * * Depends: diff --git a/ui/effects.explode.js b/ui/effects.explode.js index 18109a330..81b06ed99 100644 --- a/ui/effects.explode.js +++ b/ui/effects.explode.js @@ -4,7 +4,7 @@ * Copyright (c) 2008 Paul Bakaus (ui.jquery.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. - * + * * http://docs.jquery.com/UI/Effects/Explode * * Depends: diff --git a/ui/effects.fold.js b/ui/effects.fold.js index 7964f1985..148079406 100644 --- a/ui/effects.fold.js +++ b/ui/effects.fold.js @@ -4,7 +4,7 @@ * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. - * + * * http://docs.jquery.com/UI/Effects/Fold * * Depends: diff --git a/ui/effects.highlight.js b/ui/effects.highlight.js index 09bbad817..dbe772c8e 100644 --- a/ui/effects.highlight.js +++ b/ui/effects.highlight.js @@ -4,7 +4,7 @@ * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. - * + * * http://docs.jquery.com/UI/Effects/Highlight * * Depends: diff --git a/ui/effects.pulsate.js b/ui/effects.pulsate.js index 44cb4868f..b9337b5dc 100644 --- a/ui/effects.pulsate.js +++ b/ui/effects.pulsate.js @@ -4,7 +4,7 @@ * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. - * + * * http://docs.jquery.com/UI/Effects/Pulsate * * Depends: diff --git a/ui/effects.scale.js b/ui/effects.scale.js index 3ea44683b..3fa892441 100644 --- a/ui/effects.scale.js +++ b/ui/effects.scale.js @@ -4,7 +4,7 @@ * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. - * + * * http://docs.jquery.com/UI/Effects/Scale * * Depends: diff --git a/ui/effects.shake.js b/ui/effects.shake.js index c4b922dd8..9bbd9e7d3 100644 --- a/ui/effects.shake.js +++ b/ui/effects.shake.js @@ -4,7 +4,7 @@ * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. - * + * * http://docs.jquery.com/UI/Effects/Shake * * Depends: diff --git a/ui/effects.slide.js b/ui/effects.slide.js index 24237e73f..62ba15ee2 100644 --- a/ui/effects.slide.js +++ b/ui/effects.slide.js @@ -4,7 +4,7 @@ * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. - * + * * http://docs.jquery.com/UI/Effects/Slide * * Depends: diff --git a/ui/effects.transfer.js b/ui/effects.transfer.js index d18c86613..2754493d9 100644 --- a/ui/effects.transfer.js +++ b/ui/effects.transfer.js @@ -4,7 +4,7 @@ * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. - * + * * http://docs.jquery.com/UI/Effects/Transfer * * Depends: diff --git a/ui/i18n/ui.datepicker-ar.js b/ui/i18n/ui.datepicker-ar.js index 4c8e5d3f6..52101e921 100644 --- a/ui/i18n/ui.datepicker-ar.js +++ b/ui/i18n/ui.datepicker-ar.js @@ -20,7 +20,7 @@ jQuery(function($){ dayNamesShort: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'], dayNamesMin: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'], dayStatus: 'اختر DD لليوم الأول من الأسبوع', dateStatus: 'اختر D, M d', - dateFormat: 'dd/mm/yy', firstDay: 0, + dateFormat: 'dd/mm/yy', firstDay: 0, initStatus: 'اختر يوم', isRTL: true}; $.datepicker.setDefaults($.datepicker.regional['ar']); });
\ No newline at end of file diff --git a/ui/i18n/ui.datepicker-ca.js b/ui/i18n/ui.datepicker-ca.js index cc2d5cc9b..414600f23 100644 --- a/ui/i18n/ui.datepicker-ca.js +++ b/ui/i18n/ui.datepicker-ca.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'], dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'], dayStatus: 'DD', dateStatus: 'D, M d', - dateFormat: 'mm/dd/yy', firstDay: 0, + dateFormat: 'mm/dd/yy', firstDay: 0, initStatus: '', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['ca']); });
\ No newline at end of file diff --git a/ui/i18n/ui.datepicker-cs.js b/ui/i18n/ui.datepicker-cs.js index d04c618eb..1f5118f1c 100644 --- a/ui/i18n/ui.datepicker-cs.js +++ b/ui/i18n/ui.datepicker-cs.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['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', - dateFormat: 'dd.mm.yy', firstDay: 1, + dateFormat: 'dd.mm.yy', firstDay: 1, initStatus: 'Vyberte datum', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['cs']); }); diff --git a/ui/i18n/ui.datepicker-da.js b/ui/i18n/ui.datepicker-da.js index 2a178d638..525f3de3c 100644 --- a/ui/i18n/ui.datepicker-da.js +++ b/ui/i18n/ui.datepicker-da.js @@ -9,9 +9,9 @@ jQuery(function($){ nextText: 'Næste>', nextStatus: 'Vis næste måned', nextBigText: '>>', nextBigStatus: '', 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'], - monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', 'Jul','Aug','Sep','Okt','Nov','Dec'], monthStatus: 'Vis en anden måned', yearStatus: 'Vis et andet år', weekHeader: 'Uge', weekStatus: 'Årets uge', @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], 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}; - $.datepicker.setDefaults($.datepicker.regional['da']); + $.datepicker.setDefaults($.datepicker.regional['da']); }); diff --git a/ui/i18n/ui.datepicker-de.js b/ui/i18n/ui.datepicker-de.js index 862b04ada..ce8f78391 100644 --- a/ui/i18n/ui.datepicker-de.js +++ b/ui/i18n/ui.datepicker-de.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['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', - dateFormat: 'dd.mm.yy', firstDay: 1, + dateFormat: 'dd.mm.yy', firstDay: 1, initStatus: 'Wähle ein Datum', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['de']); }); diff --git a/ui/i18n/ui.datepicker-es.js b/ui/i18n/ui.datepicker-es.js index dd783a4c9..7d0199279 100644 --- a/ui/i18n/ui.datepicker-es.js +++ b/ui/i18n/ui.datepicker-es.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'], dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'], dayStatus: 'DD', dateStatus: 'D, M d', - dateFormat: 'dd/mm/yy', firstDay: 0, + dateFormat: 'dd/mm/yy', firstDay: 0, initStatus: '', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['es']); });
\ No newline at end of file diff --git a/ui/i18n/ui.datepicker-fr.js b/ui/i18n/ui.datepicker-fr.js index 33ce1e2f0..eef711161 100644 --- a/ui/i18n/ui.datepicker-fr.js +++ b/ui/i18n/ui.datepicker-fr.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'], dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'], 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}; $.datepicker.setDefaults($.datepicker.regional['fr']); });
\ No newline at end of file diff --git a/ui/i18n/ui.datepicker-he.js b/ui/i18n/ui.datepicker-he.js index 6574e5afd..929e87c92 100644 --- a/ui/i18n/ui.datepicker-he.js +++ b/ui/i18n/ui.datepicker-he.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], dayStatus: 'DD', dateStatus: 'DD, M d', - dateFormat: 'dd/mm/yy', firstDay: 0, + dateFormat: 'dd/mm/yy', firstDay: 0, initStatus: '', isRTL: true}; $.datepicker.setDefaults($.datepicker.regional['he']); }); diff --git a/ui/i18n/ui.datepicker-hu.js b/ui/i18n/ui.datepicker-hu.js index 73eaa46ea..29f2ad375 100644 --- a/ui/i18n/ui.datepicker-hu.js +++ b/ui/i18n/ui.datepicker-hu.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'], dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], dayStatus: 'DD', dateStatus: 'D, M d', - dateFormat: 'yy-mm-dd', firstDay: 1, + dateFormat: 'yy-mm-dd', firstDay: 1, initStatus: '', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['hu']); }); diff --git a/ui/i18n/ui.datepicker-hy.js b/ui/i18n/ui.datepicker-hy.js index 95ac6f0f0..2022efb49 100644 --- a/ui/i18n/ui.datepicker-hy.js +++ b/ui/i18n/ui.datepicker-hy.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], dayStatus: 'DD', dateStatus: 'D, M d', - dateFormat: 'dd.mm.yy', firstDay: 1, + dateFormat: 'dd.mm.yy', firstDay: 1, initStatus: '', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['hy']); });
\ No newline at end of file diff --git a/ui/i18n/ui.datepicker-id.js b/ui/i18n/ui.datepicker-id.js index e921dd716..7ff1a3a9e 100644 --- a/ui/i18n/ui.datepicker-id.js +++ b/ui/i18n/ui.datepicker-id.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'], dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'], 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}; $.datepicker.setDefaults($.datepicker.regional['id']); });
\ No newline at end of file diff --git a/ui/i18n/ui.datepicker-is.js b/ui/i18n/ui.datepicker-is.js index fae78fcee..4647f37e9 100644 --- a/ui/i18n/ui.datepicker-is.js +++ b/ui/i18n/ui.datepicker-is.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'], dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'], dayStatus: 'DD', dateStatus: 'D, M d', - dateFormat: 'dd/mm/yy', firstDay: 0, + dateFormat: 'dd/mm/yy', firstDay: 0, initStatus: '', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['is']); });
\ No newline at end of file diff --git a/ui/i18n/ui.datepicker-it.js b/ui/i18n/ui.datepicker-it.js index 398337eef..c127e22c6 100644 --- a/ui/i18n/ui.datepicker-it.js +++ b/ui/i18n/ui.datepicker-it.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'], dayNamesMin: ['Do','Lu','Ma','Me','Gio','Ve','Sa'], 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}; $.datepicker.setDefaults($.datepicker.regional['it']); }); diff --git a/ui/i18n/ui.datepicker-ja.js b/ui/i18n/ui.datepicker-ja.js index 4fd07e385..57e0018f2 100644 --- a/ui/i18n/ui.datepicker-ja.js +++ b/ui/i18n/ui.datepicker-ja.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['日','月','火','水','木','金','土'], dayNamesMin: ['日','月','火','水','木','金','土'], dayStatus: 'DD', dateStatus: 'D, M d', - dateFormat: 'yy/mm/dd', firstDay: 0, + dateFormat: 'yy/mm/dd', firstDay: 0, initStatus: '', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['ja']); });
\ No newline at end of file diff --git a/ui/i18n/ui.datepicker-ko.js b/ui/i18n/ui.datepicker-ko.js index afe79115d..b380311cf 100644 --- a/ui/i18n/ui.datepicker-ko.js +++ b/ui/i18n/ui.datepicker-ko.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['일','월','화','수','목','금','토'], dayNamesMin: ['일','월','화','수','목','금','토'], dayStatus: 'DD', dateStatus: 'D, M d', - dateFormat: 'yy-mm-dd', firstDay: 0, + dateFormat: 'yy-mm-dd', firstDay: 0, initStatus: '', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['ko']); });
\ No newline at end of file diff --git a/ui/i18n/ui.datepicker-lt.js b/ui/i18n/ui.datepicker-lt.js index 2afe15e35..ab5ee859c 100644 --- a/ui/i18n/ui.datepicker-lt.js +++ b/ui/i18n/ui.datepicker-lt.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'], dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'], dayStatus: 'DD', dateStatus: 'D, M d', - dateFormat: 'yy-mm-dd', firstDay: 1, + dateFormat: 'yy-mm-dd', firstDay: 1, initStatus: '', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['lt']); });
\ No newline at end of file diff --git a/ui/i18n/ui.datepicker-lv.js b/ui/i18n/ui.datepicker-lv.js index 2531794c9..981d42b8d 100644 --- a/ui/i18n/ui.datepicker-lv.js +++ b/ui/i18n/ui.datepicker-lv.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'], dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'], dayStatus: 'DD', dateStatus: 'D, M d', - dateFormat: 'dd-mm-yy', firstDay: 1, + dateFormat: 'dd-mm-yy', firstDay: 1, initStatus: '', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['lv']); });
\ No newline at end of file diff --git a/ui/i18n/ui.datepicker-nl.js b/ui/i18n/ui.datepicker-nl.js index 80262da41..fd81e5bbf 100644 --- a/ui/i18n/ui.datepicker-nl.js +++ b/ui/i18n/ui.datepicker-nl.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['Zon','Maa','Din','Woe','Don','Vri','Zat'], dayNamesMin: ['Zo','Ma','Di','Wo','Do','Vr','Za'], dayStatus: 'DD', dateStatus: 'D, M d', - dateFormat: 'dd.mm.yy', firstDay: 1, + dateFormat: 'dd.mm.yy', firstDay: 1, initStatus: 'Kies een datum', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['nl']); });
\ No newline at end of file diff --git a/ui/i18n/ui.datepicker-no.js b/ui/i18n/ui.datepicker-no.js index c5c1d0c3f..e9a05e838 100644 --- a/ui/i18n/ui.datepicker-no.js +++ b/ui/i18n/ui.datepicker-no.js @@ -9,9 +9,9 @@ jQuery(function($){ nextText: 'Neste»', nextStatus: '', nextBigText: '>>', nextBigStatus: '', currentText: 'I dag', currentStatus: '', - monthNames: ['Januar','Februar','Mars','April','Mai','Juni', + monthNames: ['Januar','Februar','Mars','April','Mai','Juni', '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'], monthStatus: '', yearStatus: '', weekHeader: 'Uke', weekStatus: '', @@ -19,7 +19,7 @@ jQuery(function($){ dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], dayStatus: 'DD', dateStatus: 'D, M d', - dateFormat: 'yy-mm-dd', firstDay: 0, + dateFormat: 'yy-mm-dd', firstDay: 0, initStatus: '', isRTL: false}; - $.datepicker.setDefaults($.datepicker.regional['no']); + $.datepicker.setDefaults($.datepicker.regional['no']); }); diff --git a/ui/i18n/ui.datepicker-pl.js b/ui/i18n/ui.datepicker-pl.js index 4e8fc2a06..85f3b28c0 100644 --- a/ui/i18n/ui.datepicker-pl.js +++ b/ui/i18n/ui.datepicker-pl.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'], dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'], 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}; $.datepicker.setDefaults($.datepicker.regional['pl']); }); diff --git a/ui/i18n/ui.datepicker-pt-BR.js b/ui/i18n/ui.datepicker-pt-BR.js index 0f3fca114..484743afe 100644 --- a/ui/i18n/ui.datepicker-pt-BR.js +++ b/ui/i18n/ui.datepicker-pt-BR.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'], dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'], dayStatus: 'DD', dateStatus: 'D, M d', - dateFormat: 'dd/mm/yy', firstDay: 0, + dateFormat: 'dd/mm/yy', firstDay: 0, initStatus: '', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['pt-BR']); });
\ No newline at end of file diff --git a/ui/i18n/ui.datepicker-ro.js b/ui/i18n/ui.datepicker-ro.js index 9a0fab920..5a0eeaf26 100644 --- a/ui/i18n/ui.datepicker-ro.js +++ b/ui/i18n/ui.datepicker-ro.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sam'], dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sa'], 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}; $.datepicker.setDefaults($.datepicker.regional['ro']); }); diff --git a/ui/i18n/ui.datepicker-ru.js b/ui/i18n/ui.datepicker-ru.js index 55d6a35ca..d52248347 100644 --- a/ui/i18n/ui.datepicker-ru.js +++ b/ui/i18n/ui.datepicker-ru.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'], dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'], dayStatus: 'DD', dateStatus: 'D, M d', - dateFormat: 'dd.mm.yy', firstDay: 1, + dateFormat: 'dd.mm.yy', firstDay: 1, initStatus: '', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['ru']); });
\ No newline at end of file diff --git a/ui/i18n/ui.datepicker-sk.js b/ui/i18n/ui.datepicker-sk.js index f29444aaf..315f60b94 100644 --- a/ui/i18n/ui.datepicker-sk.js +++ b/ui/i18n/ui.datepicker-sk.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'], dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'], dayStatus: 'DD', dateStatus: 'D, M d', - dateFormat: 'dd.mm.yy', firstDay: 0, + dateFormat: 'dd.mm.yy', firstDay: 0, initStatus: '', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['sk']); }); diff --git a/ui/i18n/ui.datepicker-sl.js b/ui/i18n/ui.datepicker-sl.js index acc90b40f..36eca54bf 100644 --- a/ui/i18n/ui.datepicker-sl.js +++ b/ui/i18n/ui.datepicker-sl.js @@ -20,7 +20,7 @@ jQuery(function($){ dayNamesShort: ['Ned','Pon','Tor','Sre','Čet','Pet','Sob'], dayNamesMin: ['Ne','Po','To','Sr','Če','Pe','So'], 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}; $.datepicker.setDefaults($.datepicker.regional['sl']); }); diff --git a/ui/i18n/ui.datepicker-sv.js b/ui/i18n/ui.datepicker-sv.js index 09ce8350b..ce2511532 100644 --- a/ui/i18n/ui.datepicker-sv.js +++ b/ui/i18n/ui.datepicker-sv.js @@ -9,9 +9,9 @@ jQuery(function($){ nextText: 'Nästa»', nextStatus: '', nextBigText: '>>', nextBigStatus: '', currentText: 'Idag', currentStatus: '', - monthNames: ['Januari','Februari','Mars','April','Maj','Juni', + monthNames: ['Januari','Februari','Mars','April','Maj','Juni', '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'], monthStatus: '', yearStatus: '', weekHeader: 'Ve', weekStatus: '', @@ -19,7 +19,7 @@ jQuery(function($){ dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'], dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'], dayStatus: 'DD', dateStatus: 'D, M d', - dateFormat: 'yy-mm-dd', firstDay: 1, + dateFormat: 'yy-mm-dd', firstDay: 1, initStatus: '', isRTL: false}; - $.datepicker.setDefaults($.datepicker.regional['sv']); + $.datepicker.setDefaults($.datepicker.regional['sv']); }); diff --git a/ui/i18n/ui.datepicker-th.js b/ui/i18n/ui.datepicker-th.js index 6f2885182..8801f85d6 100644 --- a/ui/i18n/ui.datepicker-th.js +++ b/ui/i18n/ui.datepicker-th.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], dayStatus: 'DD', dateStatus: 'D, M d', - dateFormat: 'dd/mm/yy', firstDay: 0, + dateFormat: 'dd/mm/yy', firstDay: 0, initStatus: '', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['th']); });
\ No newline at end of file diff --git a/ui/i18n/ui.datepicker-tr.js b/ui/i18n/ui.datepicker-tr.js index 67a44f0ee..c4e115ef9 100644 --- a/ui/i18n/ui.datepicker-tr.js +++ b/ui/i18n/ui.datepicker-tr.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['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', - dateFormat: 'dd.mm.yy', firstDay: 1, + dateFormat: 'dd.mm.yy', firstDay: 1, initStatus: 'Bir tarih seçiniz', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['tr']); });
\ No newline at end of file diff --git a/ui/i18n/ui.datepicker-uk.js b/ui/i18n/ui.datepicker-uk.js index 7dcfde5d9..59c3d71cc 100644 --- a/ui/i18n/ui.datepicker-uk.js +++ b/ui/i18n/ui.datepicker-uk.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'], dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'], dayStatus: 'DD', dateStatus: 'D, M d', - dateFormat: 'dd.mm.yy', firstDay: 1, + dateFormat: 'dd.mm.yy', firstDay: 1, initStatus: '', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['uk']); });
\ No newline at end of file diff --git a/ui/i18n/ui.datepicker-zh-CN.js b/ui/i18n/ui.datepicker-zh-CN.js index 5d14fc97c..d24ee268b 100644 --- a/ui/i18n/ui.datepicker-zh-CN.js +++ b/ui/i18n/ui.datepicker-zh-CN.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], dayNamesMin: ['日','一','二','三','四','五','六'], dayStatus: '设置 DD 为一周起始', dateStatus: '选择 m月 d日, DD', - dateFormat: 'yy-mm-dd', firstDay: 1, + dateFormat: 'yy-mm-dd', firstDay: 1, initStatus: '请选择日期', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['zh-CN']); }); diff --git a/ui/i18n/ui.datepicker-zh-TW.js b/ui/i18n/ui.datepicker-zh-TW.js index 1613b5d16..bef823aba 100644 --- a/ui/i18n/ui.datepicker-zh-TW.js +++ b/ui/i18n/ui.datepicker-zh-TW.js @@ -19,7 +19,7 @@ jQuery(function($){ dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], dayNamesMin: ['日','一','二','三','四','五','六'], dayStatus: '設定 DD 為一周起始', dateStatus: '選擇 m月 d日, DD', - dateFormat: 'yy/mm/dd', firstDay: 1, + dateFormat: 'yy/mm/dd', firstDay: 1, initStatus: '請選擇日期', isRTL: false}; $.datepicker.setDefaults($.datepicker.regional['zh-TW']); }); diff --git a/ui/ui.accordion.js b/ui/ui.accordion.js index e32c5e214..4a0ad5ddd 100644 --- a/ui/ui.accordion.js +++ b/ui/ui.accordion.js @@ -1,6 +1,6 @@ /* * jQuery UI Accordion @VERSION - * + * * Copyright (c) 2007, 2008 Jörn Zaefferer * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. diff --git a/ui/ui.datepicker.js b/ui/ui.datepicker.js index 99bc8ec93..dfd263b3a 100644 --- a/ui/ui.datepicker.js +++ b/ui/ui.datepicker.js @@ -4,7 +4,7 @@ * Copyright (c) 2006, 2007, 2008 Marc Grabanski * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. - * + * * http://docs.jquery.com/UI/Datepicker * * Depends: @@ -12,7 +12,7 @@ * * Marc Grabanski (m@marcgrabanski.com) and Keith Wood (kbwood@virginbroadband.com.au). */ - + (function($) { // hide the namespace $.extend($.ui, { datepicker: { version: "@VERSION" } }); @@ -146,7 +146,7 @@ $.extend(Datepicker.prototype, { 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) @return the manager object */ setDefaults: function(settings) { @@ -176,7 +176,7 @@ $.extend(Datepicker.prototype, { if (!target.id) target.id = 'dp' + (++this.uuid); var inst = this._newInst($(target), inline); - inst.settings = $.extend({}, settings || {}, inlineSettings || {}); + inst.settings = $.extend({}, settings || {}, inlineSettings || {}); if (nodeName == 'input') { this._connectDatepicker(target, inst); } else if (inline) { @@ -210,7 +210,7 @@ $.extend(Datepicker.prototype, { if (showOn == 'button' || showOn == 'both') { // pop-up date picker when button clicked var buttonText = this._get(inst, 'buttonText'); var buttonImage = this._get(inst, 'buttonImage'); - var trigger = $(this._get(inst, 'buttonImageOnly') ? + var trigger = $(this._get(inst, 'buttonImageOnly') ? $('<img/>').addClass(this._triggerClass). attr({ src: buttonImage, alt: buttonText, title: buttonText }) : $('<button type="button"></button>').addClass(this._triggerClass). @@ -248,7 +248,7 @@ $.extend(Datepicker.prototype, { $.data(target, PROP_NAME, inst); this._setDate(inst, this._getDefaultDate(inst)); this._updateDatepicker(inst); - this._updateAlternate(inst); + this._updateAlternate(inst); }, /* Pop-up the date picker in a "dialog" box. @@ -464,7 +464,7 @@ $.extend(Datepicker.prototype, { _getDateDatepicker: function(target) { var inst = this._getInst(target); if (inst && !inst.inline) - this._setDateFromField(inst); + this._setDateFromField(inst); return (inst ? this._getDate(inst) : null); }, @@ -497,7 +497,7 @@ $.extend(Datepicker.prototype, { break; // next month/year on page down/+ ctrl case 35: if (event.ctrlKey || event.metaKey) $.datepicker._clearDate(event.target); 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); handled = event.ctrlKey || event.metaKey; break; // current on ctrl or command +home @@ -508,7 +508,7 @@ $.extend(Datepicker.prototype, { -$.datepicker._get(inst, 'stepBigMonths') : -$.datepicker._get(inst, 'stepMonths')), 'M'); // next month/year on alt +left on Mac - break; + break; case 38: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, -7, 'D'); handled = event.ctrlKey || event.metaKey; break; // -1 week on ctrl or command +up @@ -519,7 +519,7 @@ $.extend(Datepicker.prototype, { +$.datepicker._get(inst, 'stepBigMonths') : +$.datepicker._get(inst, 'stepMonths')), 'M'); // next month/year on alt +right - break; + break; case 40: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, +7, 'D'); handled = event.ctrlKey || event.metaKey; break; // +1 week on ctrl or command +down @@ -631,7 +631,7 @@ $.extend(Datepicker.prototype, { _checkOffset: function(inst, offset, isFixed) { var pos = inst.input ? this._findPos(inst.input[0]) : null; var browserWidth = window.innerWidth || (document.documentElement ? - document.documentElement.clientWidth : document.body.clientWidth); + document.documentElement.clientWidth : document.body.clientWidth); var browserHeight = window.innerHeight || (document.documentElement ? document.documentElement.clientHeight : document.body.clientHeight); var scrollX = document.documentElement.scrollLeft || document.body.scrollLeft; @@ -793,7 +793,7 @@ $.extend(Datepicker.prototype, { if (inst.stayOpen) { $('.ui-datepicker td', inst.dpDiv).removeClass(this._currentClass); $(td).addClass(this._currentClass); - } + } } inst.selectedDay = inst.currentDay = $('a', td).html(); inst.selectedMonth = inst.currentMonth = month; @@ -998,17 +998,17 @@ $.extend(Datepicker.prototype, { case 'd': day = getNumber('d'); break; - case 'D': + case 'D': getName('D', dayNamesShort, dayNames); break; case 'o': doy = getNumber('o'); break; - case 'm': + case 'm': month = getNumber('m'); break; case 'M': - month = getName('M', monthNamesShort, monthNames); + month = getName('M', monthNamesShort, monthNames); break; case 'y': year = getNumber('y'); @@ -1130,7 +1130,7 @@ $.extend(Datepicker.prototype, { case 'd': output += formatNumber('d', date.getDate(), 2); break; - case 'D': + case 'D': output += formatName('D', date.getDay(), dayNamesShort, dayNames); break; case 'o': @@ -1139,18 +1139,18 @@ $.extend(Datepicker.prototype, { doy += this._getDaysInMonth(date.getFullYear(), m); output += formatNumber('o', doy, 3); break; - case 'm': + case 'm': output += formatNumber('m', date.getMonth() + 1, 2); break; case 'M': - output += formatName('M', date.getMonth(), monthNamesShort, monthNames); + output += formatName('M', date.getMonth(), monthNamesShort, monthNames); break; case 'y': - output += (lookAhead('y') ? date.getFullYear() : + output += (lookAhead('y') ? date.getFullYear() : (date.getYear() % 100 < 10 ? '0' : '') + date.getYear() % 100); break; case '@': - output += date.getTime(); + output += date.getTime(); break; case "'": if (lookAhead("'")) @@ -1178,7 +1178,7 @@ $.extend(Datepicker.prototype, { else switch (format.charAt(iFormat)) { case 'd': case 'm': case 'y': case '@': - chars += '0123456789'; + chars += '0123456789'; break; case 'D': case 'M': return null; // Accept anything @@ -1203,7 +1203,7 @@ $.extend(Datepicker.prototype, { /* Parse existing date and initialise date picker. */ _setDateFromField: function(inst) { 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; var date = defaultDate = this._getDefaultDate(inst); if (dates.length > 0) { @@ -1261,7 +1261,7 @@ $.extend(Datepicker.prototype, { case 'w' : case 'W' : day += parseInt(matches[1],10) * 7; break; case 'm' : case 'M' : - month += parseInt(matches[1],10); + month += parseInt(matches[1],10); day = Math.min(day, getDaysInMonth(year, month)); break; case 'y': case 'Y' : @@ -1288,7 +1288,7 @@ $.extend(Datepicker.prototype, { /* Handle switch to/from daylight saving. 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. @param date (Date) the date to check @return (Date) the corrected date */ @@ -1399,7 +1399,7 @@ $.extend(Datepicker.prototype, { prevBigText = (!navigationAsDateFormat ? prevBigText : this.formatDate(prevBigText, this._daylightSavingAdjust(new Date(drawYear, drawMonth - stepBigMonths, 1)), 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\');"' + this._addStatus(showStatus, inst.id, this._get(inst, 'prevBigStatus'), initStatus) + '>' + prevBigText + '</a>' : '') + '<a onclick="jQuery.datepicker._adjustDate(\'#' + inst.id + '\', -' + stepMonths + ', \'M\');"' + @@ -1422,7 +1422,7 @@ $.extend(Datepicker.prototype, { (hideIfNoPrevNext ? '' : '<label>' + nextText + '</label>' + (showBigPrevNext ? '<label>' + nextBigText + '</label>' : ''))) + '</div>'; 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 : this.formatDate(currentText, gotoDate, this._getFormatConfig(inst))); 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' : '') + '">' + this._generateMonthYearHeader(inst, drawMonth, drawYear, minDate, maxDate, 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">' + (showWeeks ? '<td' + this._addStatus(showStatus, inst.id, weekStatus, initStatus) + '>' + this._get(inst, 'weekHeader') + '</td>' : ''); @@ -1465,7 +1465,7 @@ $.extend(Datepicker.prototype, { status.replace(/D/, dayNamesShort[day])); html += '<td' + ((dow + firstDay + 6) % 7 >= 5 ? ' class="ui-datepicker-week-end-cell"' : '') + '>' + (!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] + '">' + dayNamesMin[day] + (changeFirstDay ? '</a>' : '</span>') + '</td>'; } @@ -1526,11 +1526,11 @@ $.extend(Datepicker.prototype, { } 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>' : '') + (!closeAtTop && !inst.inline ? controls : '') + - '<div style="clear: both;"></div>' + - ($.browser.msie && parseInt($.browser.version,10) < 7 && !inst.inline ? + '<div style="clear: both;"></div>' + + ($.browser.msie && parseInt($.browser.version,10) < 7 && !inst.inline ? '<iframe src="javascript:false;" class="ui-datepicker-cover"></iframe>' : ''); inst._keyEvent = false; return html; diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js index 9e381cb15..bc94131c8 100644 --- a/ui/ui.dialog.js +++ b/ui/ui.dialog.js @@ -4,7 +4,7 @@ * Copyright (c) 2008 Richard D. Worth (rdworth.org) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. - * + * * http://docs.jquery.com/UI/Dialog * * Depends: diff --git a/ui/ui.droppable.js b/ui/ui.droppable.js index f5d81babc..c8b6bf734 100644 --- a/ui/ui.droppable.js +++ b/ui/ui.droppable.js @@ -4,7 +4,7 @@ * Copyright (c) 2008 Paul Bakaus * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. - * + * * http://docs.jquery.com/UI/Droppables * * Depends: diff --git a/ui/ui.resizable.js b/ui/ui.resizable.js index 8707cf862..cde3dbe0f 100644 --- a/ui/ui.resizable.js +++ b/ui/ui.resizable.js @@ -4,7 +4,7 @@ * Copyright (c) 2008 Eduardo Lundgren * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. - * + * * http://docs.jquery.com/UI/Resizables * * Depends: @@ -82,7 +82,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, { var oel = this.element; this.element = this.element.parent(); // store instance on wrapper - this.element.data('resizable', this); + this.element.data('resizable', this); //Move margins to the wrapper 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++) { - 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'] : {}); // increase zIndex of sw, se, ne, nw axis 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 ); o.handles[handle] = '.ui-resizable-'+handle; @@ -158,7 +158,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, { o.handles[i].css({opacity:0}); //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)) { 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(); //The padding type i have to apply... - var padPos = [ 'padding', + var padPos = [ 'padding', /ne|nw|n/.test(i) ? 'Top' : - /se|sw|s/.test(i) ? 'Bottom' : - /^e$/.test(i) ? 'Right' : 'Left' ].join(""); + /se|sw|s/.test(i) ? 'Bottom' : + /^e$/.test(i) ? 'Right' : 'Left' ].join(""); if (!o.transparent) target.css(padPos, padWrapper); @@ -274,7 +274,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, { _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; o.resizing = true; o.documentScroll = { top: $(document).scrollTop(), left: $(document).scrollLeft() }; @@ -344,7 +344,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, { this._propagate("resize", event); 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" }); @@ -364,12 +364,12 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, { var o = this.options, num = function(v) { return parseInt(v, 10) || 0; }, self = this; 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, soffsetw = ista ? 0 : self.sizeDiff.width; 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; if (!o.animate) @@ -406,7 +406,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, { data.left = cpos.left + (csize.width - data.width); data.top = null; } - if (a == 'nw') { + if (a == 'nw') { data.top = cpos.top + (csize.height - data.height); data.left = cpos.left + (csize.width - data.width); } @@ -415,7 +415,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, { }, _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, 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) { var border = parseInt(v,10)||0, padding = parseInt(p[i],10)||0; - return border + padding; + return border + padding; }); } prel.css({ @@ -484,7 +484,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, { $.ui.disableSelection(this.helper.get(0)); } else { - this.helper = el; + this.helper = el; } }, _change: { @@ -562,8 +562,8 @@ $.ui.plugin.add("resizable", "containment", { self.containerOffset = { left: 0, top: 0 }; self.containerPosition = { left: 0, top: 0 }; - self.parentData = { - element: $(document), left: 0, top: 0, + self.parentData = { + element: $(document), left: 0, top: 0, width: $(document).width(), height: $(document).height() || document.body.parentNode.scrollHeight }; } @@ -574,17 +574,17 @@ $.ui.plugin.add("resizable", "containment", { self.containerPosition = $(ce).position(); 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); - self.parentData = { + self.parentData = { element: ce, left: co.left, top: co.top, width: width, height: height }; } }, 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, 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; } - 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; if (woset + self.size.width >= self.parentData.width) { @@ -668,18 +668,18 @@ $.ui.plugin.add("resizable", "animate", { stop: function(event, ui) { 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, soffsetw = ista ? 0 : self.sizeDiff.width; 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, - top = (parseInt(self.element.css('top'), 10) + (self.position.top - self.originalPosition.top)) || 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; self.element.animate( - $.extend(style, top && left ? { top: top, left: left } : {}), { + $.extend(style, top && left ? { top: top, left: left } : {}), { duration: o.animateDuration, - easing: o.animateEasing, + easing: o.animateEasing, step: function() { var data = { @@ -736,7 +736,7 @@ $.ui.plugin.add("resizable", "ghost", { $.ui.plugin.add("resizable", "alsoResize", { start: function(event, ui) { - var o = ui.options, self = $(this).data("resizable"), + var o = ui.options, self = $(this).data("resizable"), _store = function(exp) { $(exp).each(function() { @@ -752,13 +752,13 @@ $.ui.plugin.add("resizable", "alsoResize", { else { $.each(o.alsoResize, function(exp, c) { _store(exp); }); } }else{ _store(o.alsoResize); - } + } }, resize: function(event, ui){ 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, top: (self.position.top - op.top) || 0, left: (self.position.left - op.left) || 0 }, diff --git a/ui/ui.selectable.js b/ui/ui.selectable.js index 6e46a3d73..494f84c8e 100644 --- a/ui/ui.selectable.js +++ b/ui/ui.selectable.js @@ -4,7 +4,7 @@ * Copyright (c) 2008 Richard D. Worth (rdworth.org) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. - * + * * http://docs.jquery.com/UI/Selectables * * Depends: diff --git a/ui/ui.slider.js b/ui/ui.slider.js index 487c98feb..d8f43d28d 100644 --- a/ui/ui.slider.js +++ b/ui/ui.slider.js @@ -4,7 +4,7 @@ * Copyright (c) 2008 Paul Bakaus * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. - * + * * http://docs.jquery.com/UI/Slider * * Depends: diff --git a/ui/ui.tabs.js b/ui/ui.tabs.js index d51fee912..d15ec1ac0 100644 --- a/ui/ui.tabs.js +++ b/ui/ui.tabs.js @@ -193,7 +193,7 @@ $.widget("ui.tabs", { }; // Hide a tab, $show is optional... - var hideTab = hideFx ? + var hideTab = hideFx ? function(clicked, $hide, $show) { $hide.animate(hideFx, hideFx.duration || 'normal', function() { $hide.addClass(o.hideClass); @@ -222,7 +222,7 @@ $.widget("ui.tabs", { $hide = self.$panels.filter(':visible'), $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. // Check if click handler returns false last so that it is not executed // for a disabled or loading tab! @@ -266,7 +266,7 @@ $.widget("ui.tabs", { // show new tab if ($show.length) { var a = this; - self.load(self.$tabs.index(this), $hide.length ? + self.load(self.$tabs.index(this), $hide.length ? function() { switchTab(a, $li, $hide, $show); } : @@ -438,7 +438,7 @@ $.widget("ui.tabs", { catch (event) {} // 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... callback(); } |