nav tabs on admin dashboard
This commit is contained in:
13
node_modules/url-parse/index.js
generated
vendored
13
node_modules/url-parse/index.js
generated
vendored
@@ -53,7 +53,14 @@ var ignore = { hash: 1, query: 1 };
|
||||
* @public
|
||||
*/
|
||||
function lolcation(loc) {
|
||||
var location = global && global.location || {};
|
||||
var globalVar;
|
||||
|
||||
if (typeof window !== 'undefined') globalVar = window;
|
||||
else if (typeof global !== 'undefined') globalVar = global;
|
||||
else if (typeof self !== 'undefined') globalVar = self;
|
||||
else globalVar = {};
|
||||
|
||||
var location = globalVar.location || {};
|
||||
loc = loc || location;
|
||||
|
||||
var finaldestination = {}
|
||||
@@ -148,8 +155,8 @@ function resolve(relative, base) {
|
||||
*
|
||||
* @constructor
|
||||
* @param {String} address URL we want to parse.
|
||||
* @param {Object|String} location Location defaults for relative paths.
|
||||
* @param {Boolean|Function} parser Parser for the query string.
|
||||
* @param {Object|String} [location] Location defaults for relative paths.
|
||||
* @param {Boolean|Function} [parser] Parser for the query string.
|
||||
* @private
|
||||
*/
|
||||
function Url(address, location, parser) {
|
||||
|
||||
Reference in New Issue
Block a user