can-route
Advanced tools
Comparing version 4.3.8 to 4.3.9
{ | ||
"name": "can-route", | ||
"version": "4.3.8", | ||
"version": "4.3.9", | ||
"description": "Observable front-end application routing for CanJS.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://canjs.com/doc/can-route.html", |
@@ -293,14 +293,17 @@ /* jshint asi:true */ | ||
route.data = appVM; | ||
route.start(); | ||
appVM.bind('action', function(ev, newVal) { | ||
strictEqual(newVal, '10'); | ||
}); | ||
route._onStartComplete = function(){ | ||
appVM.bind('action', function(ev, newVal) { | ||
strictEqual(newVal, '10'); | ||
}); | ||
appVM.set('action', 10); | ||
appVM.set('action', 10); | ||
// check after 30ms to see that we only have a single call | ||
setTimeout(function() { | ||
teardownRouteTest(); | ||
}, 5); | ||
// check after 30ms to see that we only have a single call | ||
setTimeout(function() { | ||
teardownRouteTest(); | ||
}, 5); | ||
}; | ||
route.start(); | ||
}); | ||
@@ -307,0 +310,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
111375
2587