client/build: fix JSCS warnings
This commit is contained in:
parent
d91352a3b0
commit
f63851e2cf
2 changed files with 1 additions and 3 deletions
|
@ -135,7 +135,6 @@ function bundleJs(config) {
|
|||
'superagent',
|
||||
'mousetrap',
|
||||
'js-cookie',
|
||||
'page',
|
||||
'nprogress',
|
||||
];
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue