code: function(message) {
              if(!aborted) {
                  message = typeof message == 'string' ? message : 'Connection aborted';
                  promise.abort();
                  promise(false, [new Error(message), xhr, null]);
              }
          }
docs: Define variables