src/io/js/io.js
function() {
	var mythis = this;
	this.req.onload = function() {
		if (mythis.config.success) {
			var response = new NWTIOResponse(mythis.req);
			mythis.config.success(response);
		}
	};

	this.req.onerror = function() {
		if (mythis.config.failure) {
			var response = new NWTIOResponse(mythis.req);
			mythis.config.failure(response);
		}
	};

	this.req.send(this.ioData ? this.ioData : null);
	return this;
}
function() {
	var mythis = this;
	this.req.onload = function() {
		if (mythis.config.success) {
			var response = new NWTIOResponse(mythis.req);
			mythis.config.success(response);
		}
	};

	this.req.onerror = function() {
		if (mythis.config.failure) {
			var response = new NWTIOResponse(mythis.req);
			mythis.config.failure(response);
		}
	};

	this.req.send(this.ioData ? this.ioData : null);
	return this;
}
function ( ) { var mythis = this ; this . req . onload = function ( ) { if ( mythis . config . success ) { var response = new NWTIOResponse ( mythis . req ) ; mythis . config . success ( response ) ; } } ; this . req . onerror = function ( ) { if ( mythis . config . failure ) { var response = new NWTIOResponse ( mythis . req ) ; mythis . config . failure ( response ) ; } } ; this . req . send ( this . ioData ? this . ioData : null ) ; return this ; }
Runs the IO call
@param string Type of call
Runs the IO call