summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2019-12-06 07:41:25 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2019-12-06 14:41:25 +0800
commitd67220680015068e3fbda7d94345630102469ca5 (patch)
tree51dbed2c3733b042f6713c6d8191dc5898d8544e /web_src
parente3081c667a44db469fac1e1de2d03b2d3106f100 (diff)
downloadgitea-d67220680015068e3fbda7d94345630102469ca5.tar.gz
gitea-d67220680015068e3fbda7d94345630102469ca5.zip
Update JS dependencies (#9255)
This is the result of `make npm-update`. I also fixed a minor linting issue which came up with the eslint 6.7 update.
Diffstat (limited to 'web_src')
-rw-r--r--web_src/js/gitGraph.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/web_src/js/gitGraph.js b/web_src/js/gitGraph.js
index 59083fe569..12d7a2eddf 100644
--- a/web_src/js/gitGraph.js
+++ b/web_src/js/gitGraph.js
@@ -250,16 +250,14 @@ export default function gitGraph(canvas, rawGraphList, config) {
}
}
- /* eslint-disable-next-line */
if (condensePrevLength < condenseCurrentLength
- && ((nodePos = findColomn('*', currentRow)) !== -1
+ && ((nodePos = findColomn('*', currentRow)) !== -1 // eslint-disable-line no-cond-assign
&& (findColomn('_', currentRow) === -1))) {
flows.splice(nodePos - 1, 0, genNewFlow());
}
- /* eslint-disable-next-line */
if (prevRowLength > currentRow.length
- && (nodePos = findColomn('*', prevRow)) !== -1) {
+ && (nodePos = findColomn('*', prevRow)) !== -1) { // eslint-disable-line no-cond-assign
if (findColomn('_', currentRow) === -1
&& findColomn('/', currentRow) === -1
&& findColomn('\\', currentRow) === -1) {