diff options
| author | rr- | 2016-07-17 21:15:50 +0200 |
|---|---|---|
| committer | rr- | 2016-07-17 21:15:50 +0200 |
| commit | faf461419f308a7ba3987dfc95b5964d9d8b86db (patch) | |
| tree | f393288ea4bbeb703cf44463f404fcb77c58d09d /client/js/models/post.js | |
| parent | 603420a31d75a2005fbb2c7d45b5b4e1de38ff6a (diff) | |
client/posts: fix JSCS complaint
Diffstat (limited to 'client/js/models/post.js')
| -rw-r--r-- | client/js/models/post.js | 5 |
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 { |