Replace $.ajax() with fetch() #6657
Annotations
10 errors
npm run lint:
assets/javascripts/comments.js#L52
Replace `(`Server·returned·${response.status}:·${response.statusText}`)` with `·`Server·returned·${response.status}:·${response.statusText}``
|
npm run lint:
assets/javascripts/comments.js#L57
Delete `··`
|
npm run lint:
assets/javascripts/comments.js#L76
Replace `(`Server·returned·${response.status}:·${response.statusText}`)` with `·`Server·returned·${response.status}:·${response.statusText}``
|
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#L90
Replace `console.error(error);·location.reload()` with `⏎··········console.error(error);⏎··········location.reload();⏎········`
|
npm run lint:
assets/javascripts/comments.js#L93
Delete `··`
|
npm run lint:
assets/javascripts/comments.js#L106
Replace `(`Server·returned·${response.status}:·${response.statusText}`)` with `·`Server·returned·${response.status}:·${response.statusText}``
|
npm run lint:
assets/javascripts/comments.js#L115
Replace `(`Server·returned·${response.status}:·${response.statusText}`)` with `·`Server·returned·${response.status}:·${response.statusText}``
|
npm run lint:
assets/javascripts/comments.js#L136
Replace `console.error(error);·location.reload()` with `⏎··········console.error(error);⏎··········location.reload();⏎········`
|
|
Loading