nl_tokens: @description Normalizes and optionally parses a URL .
pl_tokens: function resolve ( url , parse ) { var href = url ; if ( msie <= 11 ) { // Normalize before parse.  Refer Implementation Notes on why this is // done in two steps on IE. urlParsingNode . setAttribute ( "href" , href ) ; href = urlParsingNode . href ; } urlParsingNode . setAttribute ( 'href' , href ) ; if ( ! <mask> ) { return urlParsingNode . href ; } // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils return { href : urlParsingNode . href , protocol : urlParsingNode . protocol , host : urlParsingNode . host // Currently unused and hence commented out. // hostname: urlParsingNode.hostname, // port: urlParsingNode.port, // pathname: urlParsingNode.pathname, // hash: urlParsingNode.hash, // search: urlParsingNode.search } ; }