Skip to content

Commit dc169de

Browse files
committed
Fix whitespace
1 parent aa46877 commit dc169de

File tree

4 files changed

+24
-24
lines changed

4 files changed

+24
-24
lines changed

js/bootstrap-datepicker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
this.component = false;
5050

5151
this._attachEvents();
52-
52+
5353
this.forceParse = true;
5454
if ('forceParse' in options) {
5555
this.forceParse = options.forceParse;
@@ -197,7 +197,7 @@
197197
date: this.date
198198
});
199199
},
200-
200+
201201
remove: function() {
202202
this._detachEvents();
203203
this.picker.remove();

js/locales/bootstrap-datepicker.bg.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
/**
2-
* Bulgarian translation for bootstrap-datepicker
3-
* Apostol Apostolov <apostol.s.apostolov@gmail.com>
4-
*/
5-
;(function($){
6-
$.fn.datepicker.dates['bg'] = {
7-
days: ["Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота", "Неделя"],
8-
daysShort: ["Нед", "Пон", "Вто", "Сря", "Чет", "Пет", "Съб", "Нед"],
9-
daysMin: ["Н", "П", "В", "С", "Ч", "П", "С", "Н"],
10-
months: ["Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"],
11-
monthsShort: ["Ян", "Фев", "Мар", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Ное", "Дек"],
12-
today: "днес"
13-
};
14-
}(jQuery));
1+
/**
2+
* Bulgarian translation for bootstrap-datepicker
3+
* Apostol Apostolov <apostol.s.apostolov@gmail.com>
4+
*/
5+
;(function($){
6+
$.fn.datepicker.dates['bg'] = {
7+
days: ["Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота", "Неделя"],
8+
daysShort: ["Нед", "Пон", "Вто", "Сря", "Чет", "Пет", "Съб", "Нед"],
9+
daysMin: ["Н", "П", "В", "С", "Ч", "П", "С", "Н"],
10+
months: ["Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"],
11+
monthsShort: ["Ян", "Фев", "Мар", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Ное", "Дек"],
12+
today: "днес"
13+
};
14+
}(jQuery));

tests/suites/keyboard_navigation/all.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ test('TAB hides picker', function(){
1616
var target;
1717

1818
ok(this.picker.is(':visible'), 'Picker is visible');
19-
19+
2020
this.input.trigger({
2121
type: 'keydown',
2222
keyCode: 9

tests/suites/mouse_navigation/all.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@ module('Mouse Navigation (All)', {
1313
});
1414

1515
test('Clicking datepicker does not hide datepicker', function(){
16-
ok(this.picker.is(':visible'), 'Picker is visible');
16+
ok(this.picker.is(':visible'), 'Picker is visible');
1717
this.picker.trigger('mousedown');
1818
ok(this.picker.is(':visible'), 'Picker is still visible');
1919
});
2020

21-
test('Clicking outside datepicker hides datepicker', function(){
21+
test('Clicking outside datepicker hides datepicker', function(){
2222
var $otherelement = $('<div />');
23-
$('body').append($otherelement);
23+
$('body').append($otherelement);
2424

25-
ok(this.picker.is(':visible'), 'Picker is visible');
26-
this.input.trigger('click');
27-
ok(this.picker.is(':visible'), 'Picker is still visible');
25+
ok(this.picker.is(':visible'), 'Picker is visible');
26+
this.input.trigger('click');
27+
ok(this.picker.is(':visible'), 'Picker is still visible');
2828

2929
$otherelement.trigger('mousedown');
3030
ok(this.picker.is(':not(:visible)'), 'Picker is hidden');
3131

3232
$otherelement.remove();
33-
});
33+
});

0 commit comments

Comments
 (0)