Replace $.ajax() with fetch() #6653
Annotations
10 errors
npm run lint:
assets/javascripts/comments.js#L56
Replace `(`Server·returned·${response.status}:·${response.statusText}`)` with `·`Server·returned·${response.status}:·${response.statusText}``
|
npm run lint:
assets/javascripts/comments.js#L61
Delete `··`
|
npm run lint:
assets/javascripts/comments.js#L80
Replace `(`Server·returned·${response.status}:·${response.statusText}`)` with `·`Server·returned·${response.status}:·${response.statusText}``
|
npm run lint:
assets/javascripts/comments.js#L84
Replace `(`Server·returned·${response.status}:·${response.statusText}`)` with `·`Server·returned·${response.status}:·${response.statusText}``
|
npm run lint:
assets/javascripts/comments.js#L94
Replace `console.error(error);·location.reload()` with `⏎··········console.error(error);⏎··········location.reload();⏎········`
|
npm run lint:
assets/javascripts/comments.js#L97
Delete `··`
|
npm run lint:
assets/javascripts/comments.js#L110
Replace `(`Server·returned·${response.status}:·${response.statusText}`)` with `·`Server·returned·${response.status}:·${response.statusText}``
|
npm run lint:
assets/javascripts/comments.js#L119
Replace `(`Server·returned·${response.status}:·${response.statusText}`)` with `·`Server·returned·${response.status}:·${response.statusText}``
|
npm run lint:
assets/javascripts/comments.js#L140
Replace `console.error(error);·location.reload()` with `⏎··········console.error(error);⏎··········location.reload();⏎········`
|
|
Loading