organism-react-ajax
Advanced tools
Comparing version 0.17.7 to 0.17.8
@@ -26,2 +26,6 @@ "use strict"; | ||
var hasHref = function hasHref(href) { | ||
return href && "#" !== href && "?" !== href; | ||
}; | ||
var getHref = function getHref(_ref) { | ||
@@ -77,3 +81,3 @@ var href = _ref.href, | ||
if (href && (!nextHref || "#" === nextHref)) { | ||
if (hasHref(href) && !hasHref(nextHref)) { | ||
return; | ||
@@ -106,3 +110,3 @@ } else { | ||
if (!thisHref || "#" === thisHref || "?" === thisHref) { | ||
if (!hasHref(thisHref)) { | ||
/** | ||
@@ -109,0 +113,0 @@ * should pass empty url to getRawUrl for this case |
{ | ||
"version": "0.17.7", | ||
"version": "0.17.8", | ||
"name": "organism-react-ajax", | ||
@@ -4,0 +4,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
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
82360
2548