Skip to content

Commit ad7ff70

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b59a4c6 commit ad7ff70

30 files changed

+1837
-1739
lines changed

src/baseframe/static/css/baseframe-bs3.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,9 @@ table.mceLayout.focus {
406406
-moz-box-shadow: none !important;
407407
-webkit-box-shadow: none !important;
408408
box-shadow: none !important;
409-
font-family: 'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica,
410-
Arial, 'Lucida Grande', sans-serif !important;
409+
font-family:
410+
'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial,
411+
'Lucida Grande', sans-serif !important;
411412
}
412413

413414
.mce-window {
@@ -517,7 +518,8 @@ input[name='title'],
517518

518519
input[type='url'],
519520
input[name='name'] {
520-
font-family: Consolas, Inconsolata, Menlo, 'DejaVu Sans Mono',
521+
font-family:
522+
Consolas, Inconsolata, Menlo, 'DejaVu Sans Mono',
521523
'Bitstream Vera Sans Mono', monospace;
522524
}
523525

src/baseframe/static/css/baseframe.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -655,8 +655,9 @@ table.mceLayout.focus {
655655
-moz-box-shadow: none !important;
656656
-webkit-box-shadow: none !important;
657657
box-shadow: none !important;
658-
font-family: 'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica,
659-
Arial, 'Lucida Grande', sans-serif !important;
658+
font-family:
659+
'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial,
660+
'Lucida Grande', sans-serif !important;
660661
}
661662

662663
.mce-window {
@@ -766,7 +767,8 @@ input[name='title'],
766767

767768
input[type='url'],
768769
input[name='name'] {
769-
font-family: Consolas, Inconsolata, Menlo, 'DejaVu Sans Mono',
770+
font-family:
771+
Consolas, Inconsolata, Menlo, 'DejaVu Sans Mono',
770772
'Bitstream Vera Sans Mono', monospace;
771773
}
772774

src/baseframe/static/css/bootstrap3/bootstrap.css

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,9 @@ html {
269269
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
270270
}
271271
body {
272-
font-family: 'Source Sans Pro', 'Lucida Grande', 'DejaVu Sans',
273-
'Bitstream Vera Sans', Arial, sans-serif;
272+
font-family:
273+
'Source Sans Pro', 'Lucida Grande', 'DejaVu Sans', 'Bitstream Vera Sans',
274+
Arial, sans-serif;
274275
font-size: 16px;
275276
line-height: 1.5;
276277
color: #333333;
@@ -707,7 +708,8 @@ code,
707708
kbd,
708709
pre,
709710
samp {
710-
font-family: Consolas, Inconsolata, Menlo, 'DejaVu Sans Mono',
711+
font-family:
712+
Consolas, Inconsolata, Menlo, 'DejaVu Sans Mono',
711713
'Bitstream Vera Sans Mono', monospace;
712714
}
713715
code {
@@ -5341,8 +5343,9 @@ button.close {
53415343
z-index: 1070;
53425344
display: block;
53435345
visibility: visible;
5344-
font-family: 'Source Sans Pro', 'Lucida Grande', 'DejaVu Sans',
5345-
'Bitstream Vera Sans', Arial, sans-serif;
5346+
font-family:
5347+
'Source Sans Pro', 'Lucida Grande', 'DejaVu Sans', 'Bitstream Vera Sans',
5348+
Arial, sans-serif;
53465349
font-size: 14px;
53475350
font-weight: normal;
53485351
line-height: 1.4;
@@ -5449,8 +5452,9 @@ button.close {
54495452
display: none;
54505453
max-width: 276px;
54515454
padding: 1px;
5452-
font-family: 'Source Sans Pro', 'Lucida Grande', 'DejaVu Sans',
5453-
'Bitstream Vera Sans', Arial, sans-serif;
5455+
font-family:
5456+
'Source Sans Pro', 'Lucida Grande', 'DejaVu Sans', 'Bitstream Vera Sans',
5457+
Arial, sans-serif;
54545458
font-size: 16px;
54555459
font-weight: normal;
54565460
line-height: 1.5;

src/baseframe/static/css/codemirror.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
.CodeMirror {
33
height: auto;
44
min-height: 6em;
5-
font-family: Consolas, Inconsolata, Menlo, 'DejaVu Sans Mono',
5+
font-family:
6+
Consolas, Inconsolata, Menlo, 'DejaVu Sans Mono',
67
'Bitstream Vera Sans Mono', monospace;
78
border: 1px solid #ccc;
89
border-radius: 4px;

src/baseframe/static/css/editor.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
@import url('//fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,400italic,600italic');
22
body {
3-
font-family: 'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica,
4-
Arial, 'Lucida Grande', sans-serif;
3+
font-family:
4+
'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial,
5+
'Lucida Grande', sans-serif;
56
font-size: 14px;
67
line-height: 20px;
78
color: #333;

src/baseframe/static/css/mui.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1690,8 +1690,9 @@ html {
16901690
}
16911691

16921692
body {
1693-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
1694-
Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif, 'Noto Sans Math',
1693+
font-family:
1694+
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
1695+
Cantarell, 'Helvetica Neue', Arial, sans-serif, 'Noto Sans Math',
16951696
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
16961697
font-size: 14px;
16971698
font-weight: 400;

src/baseframe/static/css/rrssb.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
.rrssb-buttons {
22
box-sizing: border-box;
3-
font-family: 'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica,
4-
Arial, 'Lucida Grande', sans-serif;
3+
font-family:
4+
'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial,
5+
'Lucida Grande', sans-serif;
56
height: 36px;
67
margin: 0;
78
margin-bottom: 12px;

src/baseframe/static/js/dropzone.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,9 +656,9 @@
656656
extend = function () {
657657
var key, object, objects, target, val, _i, _len;
658658

659-
(target = arguments[0]),
659+
((target = arguments[0]),
660660
(objects =
661-
2 <= arguments.length ? __slice.call(arguments, 1) : []);
661+
2 <= arguments.length ? __slice.call(arguments, 1) : []));
662662
for (_i = 0, _len = objects.length; _i < _len; _i++) {
663663
object = objects[_i];
664664
for (key in object) {

src/baseframe/static/js/footable-filter.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
!(function (t, e, i) {
1616
function a() {
1717
var e = this;
18-
(e.name = 'Footable Filter'),
18+
((e.name = 'Footable Filter'),
1919
(e.init = function (i) {
2020
if (((e.footable = i), i.options.filter.enabled === !0)) {
2121
if (t(i.table).data('filter') === !1) return;
22-
i.timers.register('filter'),
22+
(i.timers.register('filter'),
2323
t(i.table)
2424
.unbind('.filtering')
2525
.bind({
@@ -35,34 +35,34 @@
3535
r.data('filter-disable-enter') ||
3636
i.options.filter.disableEnter,
3737
};
38-
l.disableEnter &&
38+
(l.disableEnter &&
3939
t(l.input).keypress(function (t) {
4040
return window.event
4141
? 13 !== window.event.keyCode
4242
: 13 !== t.which;
4343
}),
4444
r.bind('footable_clear_filter', function () {
45-
t(l.input).val(''), e.clearFilter();
45+
(t(l.input).val(''), e.clearFilter());
4646
}),
4747
r.bind('footable_filter', function (t, i) {
4848
e.filter(i.filter);
4949
}),
5050
t(l.input).keyup(function (a) {
51-
i.timers.filter.stop(),
51+
(i.timers.filter.stop(),
5252
27 === a.which && t(l.input).val(''),
5353
i.timers.filter.start(function () {
5454
var i = t(l.input).val() || '';
5555
e.filter(i);
56-
}, l.timeout);
57-
});
56+
}, l.timeout));
57+
}));
5858
},
5959
'footable_redrawn.filtering': function (a) {
6060
var r = t(i.table),
6161
l = r.data('filter-string');
6262
l && e.filter(l);
6363
},
6464
})
65-
.data('footable-filter', e);
65+
.data('footable-filter', e));
6666
}
6767
}),
6868
(e.filter = function (i) {
@@ -77,30 +77,30 @@
7777
var f = n.filter.split(' ');
7878
r.find('> tbody > tr').hide().addClass('footable-filtered');
7979
var s = r.find('> tbody > tr:not(.footable-row-detail)');
80-
t.each(f, function (t, e) {
80+
(t.each(f, function (t, e) {
8181
e &&
8282
e.length > 0 &&
8383
(r.data('current-filter', e),
8484
(s = s.filter(a.options.filter.filterFunction)));
8585
}),
8686
s.each(function () {
87-
e.showRow(this, a), t(this).removeClass('footable-filtered');
87+
(e.showRow(this, a), t(this).removeClass('footable-filtered'));
8888
}),
8989
r.data('filter-string', n.filter),
90-
a.raise('footable_filtered', { filter: n.filter, clear: !1 });
90+
a.raise('footable_filtered', { filter: n.filter, clear: !1 }));
9191
}
9292
}),
9393
(e.clearFilter = function () {
9494
var i = e.footable,
9595
a = t(i.table);
96-
a
96+
(a
9797
.find('> tbody > tr:not(.footable-row-detail)')
9898
.removeClass('footable-filtered')
9999
.each(function () {
100100
e.showRow(this, i);
101101
}),
102102
a.removeData('filter-string'),
103-
i.raise('footable_filtered', { clear: !0 });
103+
i.raise('footable_filtered', { clear: !0 }));
104104
}),
105105
(e.showRow = function (e, i) {
106106
var a = t(e),
@@ -111,7 +111,7 @@
111111
r.hasClass('footable-row-detail')
112112
? (a.add(r).show(), i.createOrUpdateDetailRow(e))
113113
: a.show();
114-
});
114+
}));
115115
}
116116
if (e.footable === i || null === e.footable)
117117
throw new Error(

0 commit comments

Comments
 (0)