Comparing version 1.1.3 to 1.1.4
@@ -162,10 +162,6 @@ (function (global, factory) { | ||
_getQueryFromUrl: function _getQueryFromUrl(url) { | ||
if (!url) { | ||
if (!url || url.indexOf('?') === -1) { | ||
return ''; | ||
} | ||
if (url.indexOf('?') === -1) { | ||
return url; | ||
} | ||
var search = url.split('?')[1]; | ||
@@ -172,0 +168,0 @@ |
@@ -34,10 +34,6 @@ const loc = window.location | ||
_getQueryFromUrl (url) { | ||
if (!url) { | ||
if (!url || url.indexOf('?') === -1) { | ||
return '' | ||
} | ||
if (url.indexOf('?') === -1) { | ||
return url | ||
} | ||
const search = url.split('?')[1] | ||
@@ -44,0 +40,0 @@ |
{ | ||
"name": "fe-utils", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "fe-utils.js", |
@@ -35,10 +35,6 @@ var loc = window.location; | ||
_getQueryFromUrl: function _getQueryFromUrl(url) { | ||
if (!url) { | ||
if (!url || url.indexOf('?') === -1) { | ||
return ''; | ||
} | ||
if (url.indexOf('?') === -1) { | ||
return url; | ||
} | ||
var search = url.split('?')[1]; | ||
@@ -45,0 +41,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49049
1349