app/public/js/fetch.js
File fetch.js
has 318 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function() {
'use strict';
if (self.fetch) {
return
Function Body
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Body() {
this.bodyUsed = false
this._initBody = function(body) {
Function fetch
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
self.fetch = function(input, init) {
return new Promise(function(resolve, reject) {
var request
if (Request.prototype.isPrototypeOf(input) && !init) {
request = input
Function Request
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Request(input, options) {
options = options || {}
var body = options.body
if (Request.prototype.isPrototypeOf(input)) {
if (input.bodyUsed) {