src/js/misc.js
function() {
        return (this.scheme !== null ? this.scheme + "://" : '') +
               (this.host !== null ? this.host : '' ) +
               (this.port !== -1   ? ":" + this.port : '' ) +
               (this.path !== null ? this.path : '' ) +
               (this.qs   !== null ? "?" + this.qs : '' );
    }
function() {
        return (this.scheme !== null ? this.scheme + "://" : '') +
               (this.host !== null ? this.host : '' ) +
               (this.port !== -1   ? ":" + this.port : '' ) +
               (this.path !== null ? this.path : '' ) +
               (this.qs   !== null ? "?" + this.qs : '' );
    }
function ( ) { return ( this . scheme !== null ? this . scheme + "://" : '' ) + ( this . host !== null ? this . host : '' ) + ( this . port !== - 1 ? ":" + this . port : '' ) + ( this . path !== null ? this . path : '' ) + ( this . qs !== null ? "?" + this . qs : '' ) ; }
Serialize URI to its string representation.
@method  toString
@return {String} an URI as a string.
Serialize URI to its string representation .