aboutsummaryrefslogtreecommitdiff
path: root/client/js
diff options
context:
space:
mode:
authorrr-2016-07-17 21:15:50 +0200
committerrr-2016-07-17 21:15:50 +0200
commitfaf461419f308a7ba3987dfc95b5964d9d8b86db (patch)
treef393288ea4bbeb703cf44463f404fcb77c58d09d /client/js
parent603420a31d75a2005fbb2c7d45b5b4e1de38ff6a (diff)
client/posts: fix JSCS complaint
Diffstat (limited to 'client/js')
-rw-r--r--client/js/models/post.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/js/models/post.js b/client/js/models/post.js
index 849651d..fad9f0c 100644
--- a/client/js/models/post.js
+++ b/client/js/models/post.js
@@ -6,8 +6,9 @@ const events = require('../events.js');
const CommentList = require('./comment_list.js');
function _arraysDiffer(source1, source2) {
- return [...source1].filter(value => !source2.includes(value)).length > 0
- || [...source2].filter(value => !source1.includes(value)).length > 0;
+ return (
+ [...source1].filter(value => !source2.includes(value)).length > 0 ||
+ [...source2].filter(value => !source1.includes(value)).length > 0);
}
class Post extends events.EventTarget {

© 2015 - 2026 Jakob L. Kreuze