can-route
Advanced tools
Comparing version 4.0.0-pre.18 to 4.0.0-pre.19
{ | ||
"name": "can-route", | ||
"version": "4.0.0-pre.18", | ||
"version": "4.0.0-pre.19", | ||
"description": "Observable front-end application routing for CanJS.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://canjs.com/doc/can-route.html", |
@@ -231,15 +231,11 @@ /* jshint asi:true */ | ||
var after = loc.href.substr(loc.href.indexOf("#")); | ||
if (after === "#!bar/" + encodeURIComponent("\/")) { | ||
var isMatch = after === "#!bar/" + encodeURIComponent("\/"); | ||
var isWaitingTooLong = new Date() - time > 2000; | ||
if (isMatch || isWaitingTooLong) { | ||
equal(after, "#!bar/" + encodeURIComponent("\/"), "should go to type/id"); | ||
teardownRouteTest(); | ||
} else if (new Date() - time > 2000) { | ||
ok(false, "hash is " + after); | ||
can.remove(can.$(iframe)) | ||
} else { | ||
setTimeout(innerTimer, 30) | ||
setTimeout(innerTimer, 30); | ||
} | ||
}, 100); | ||
}, 100); | ||
@@ -246,0 +242,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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
104889
2454
1