summaryrefslogtreecommitdiffstats
path: root/deluge/ui/web
diff options
context:
space:
mode:
authorCalum Lind <calumlind@gmail.com>2018-11-16 14:58:49 +0000
committerCalum Lind <calumlind@gmail.com>2018-11-16 15:06:30 +0000
commit1a4ac93fbbb865ab6d9fe9fdc50eb58980dc4a01 (patch)
treef54bd5674c38479fd91152d4977624c83e2ad82b /deluge/ui/web
parent582f60ea0be03342fbc3864e55dbef0525923c47 (diff)
downloaddeluge-1a4ac93fbbb865ab6d9fe9fdc50eb58980dc4a01.tar.gz
deluge-1a4ac93fbbb865ab6d9fe9fdc50eb58980dc4a01.tar.bz2
deluge-1a4ac93fbbb865ab6d9fe9fdc50eb58980dc4a01.zip
[Lint] Bump prettier version to 1.15.2
Diffstat (limited to 'deluge/ui/web')
-rw-r--r--deluge/ui/web/js/extjs/ext-extensions/grid/BufferView.js8
-rw-r--r--deluge/ui/web/js/extjs/ext-extensions/tree/TreeGrid.js4
-rw-r--r--deluge/ui/web/js/extjs/ext-extensions/tree/TreeGridSorter.js8
3 files changed, 10 insertions, 10 deletions
diff --git a/deluge/ui/web/js/extjs/ext-extensions/grid/BufferView.js b/deluge/ui/web/js/extjs/ext-extensions/grid/BufferView.js
index e1a383d3e..e9f0e0c23 100644
--- a/deluge/ui/web/js/extjs/ext-extensions/grid/BufferView.js
+++ b/deluge/ui/web/js/extjs/ext-extensions/grid/BufferView.js
@@ -126,8 +126,8 @@ Ext.ux.grid.BufferView = Ext.extend(Ext.grid.GridView, {
i === 0
? 'x-grid3-cell-first '
: i == last
- ? 'x-grid3-cell-last '
- : '';
+ ? 'x-grid3-cell-last '
+ : '';
p.attr = p.cellAttr = '';
p.value = c.renderer(r.data[c.name], p, r, rowIndex, i, ds);
p.style = c.style;
@@ -156,8 +156,8 @@ Ext.ux.grid.BufferView = Ext.extend(Ext.grid.GridView, {
buf[buf.length] = !visible
? ts.rowHolder.apply(rp)
: onlyBody
- ? rb.apply(rp)
- : rt.apply(rp);
+ ? rb.apply(rp)
+ : rt.apply(rp);
}
return buf.join('');
},
diff --git a/deluge/ui/web/js/extjs/ext-extensions/tree/TreeGrid.js b/deluge/ui/web/js/extjs/ext-extensions/tree/TreeGrid.js
index 54956fbae..d3d5fc351 100644
--- a/deluge/ui/web/js/extjs/ext-extensions/tree/TreeGrid.js
+++ b/deluge/ui/web/js/extjs/ext-extensions/tree/TreeGrid.js
@@ -138,8 +138,8 @@ Ext.ux.tree.TreeGrid = Ext.extend(Ext.tree.TreePanel, {
(this.useArrows
? 'x-tree-arrows'
: this.lines
- ? 'x-tree-lines'
- : 'x-tree-no-lines'),
+ ? 'x-tree-lines'
+ : 'x-tree-no-lines'),
});
this.internalTpl.overwrite(this.outerCt, { columns: this.columns });
diff --git a/deluge/ui/web/js/extjs/ext-extensions/tree/TreeGridSorter.js b/deluge/ui/web/js/extjs/ext-extensions/tree/TreeGridSorter.js
index 9f57fe77c..376f41417 100644
--- a/deluge/ui/web/js/extjs/ext-extensions/tree/TreeGridSorter.js
+++ b/deluge/ui/web/js/extjs/ext-extensions/tree/TreeGridSorter.js
@@ -80,13 +80,13 @@ Ext.ux.tree.TreeGridSorter = Ext.extend(Ext.tree.TreeSorter, {
v1 = sortType
? sortType(prop1)
: caseSensitive
- ? prop1
- : prop1.toUpperCase();
+ ? prop1
+ : prop1.toUpperCase();
v2 = sortType
? sortType(prop2)
: caseSensitive
- ? prop2
- : prop2.toUpperCase();
+ ? prop2
+ : prop2.toUpperCase();
if (v1 < v2) {
return desc ? +1 : -1;