client/build: fix JSCS warnings

This commit is contained in:
rr- 2016-07-30 10:00:42 +02:00
parent d91352a3b0
commit f63851e2cf
2 changed files with 1 additions and 3 deletions

View file

@ -135,7 +135,6 @@ function bundleJs(config) {
'superagent',
'mousetrap',
'js-cookie',
'page',
'nprogress',
];

View file

@ -105,7 +105,6 @@ class Post extends events.EventTarget {
files.thumbnail = this._thumbnail;
}
let promise = this._id ?
api.put('/post/' + this._id, detail, files) :
api.post('/posts', detail, files);
@ -201,7 +200,7 @@ class Post extends events.EventTarget {
this._contentUrl =
this._orig._contentUrl +
'?bypass-cache=' +
Math.round(Math.random()*1000);
Math.round(Math.random() * 1000);
}
_updateFromResponse(response) {