File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed
Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change 2929
3030/******************************************************************************/
3131
32- var uriTools = ( function ( ) {
33-
3432/******************************************************************************/
3533
3634var uriTools = {
@@ -438,7 +436,8 @@ var uriTools = {
438436 _path : '' ,
439437 _query : '' ,
440438 _fragment : '' ,
441- _publicSuffixList : null ,
439+
440+ _publicSuffixList : publicSuffixList ,
442441
443442 /*--------------------------------------------------------------------*/
444443
@@ -474,15 +473,5 @@ var uriTools = {
474473uriTools . authorityBit = ( uriTools . userBit | uriTools . passwordBit | uriTools . hostnameBit | uriTools . portBit ) ;
475474uriTools . normalizeBits = ( uriTools . schemeBit | uriTools . hostnameBit | uriTools . pathBit | uriTools . queryBit ) ;
476475
477- if ( ! publicSuffixList ) {
478- throw 'publicSuffixList not defined!' ;
479- }
480-
481- uriTools . _publicSuffixList = publicSuffixList ;
482-
483476/******************************************************************************/
484477
485- return uriTools ;
486-
487- } ) ( ) ;
488-
You can’t perform that action at this time.
0 commit comments