can-route
Advanced tools
Comparing version 4.0.1 to 4.1.0
@@ -214,2 +214,7 @@ /*jshint -W079 */ | ||
stop: function() { | ||
this._teardown(); | ||
return canRoute; | ||
}, | ||
currentRule: makeCompute( currentRuleObservable ), | ||
@@ -225,3 +230,2 @@ register: registerRoute.register, | ||
// The functions in the following list applied to `canRoute` (e.g. `canRoute.attr('...')`) will | ||
@@ -228,0 +232,0 @@ // instead act on the `canRoute.data` observe. |
@@ -13,3 +13,3 @@ @function can-route.start start | ||
```js | ||
route("{page}", { page: "home" })); | ||
route.register("{page}", { page: "home" })); | ||
@@ -29,5 +29,5 @@ route.start(); | ||
```js | ||
route("overview/{dateStart}-{dateEnd}"); | ||
route("{type}/{id}"); | ||
route.register("overview/{dateStart}-{dateEnd}"); | ||
route.register("{type}/{id}"); | ||
route.start(); | ||
``` |
{ | ||
"name": "can-route", | ||
"version": "4.0.1", | ||
"version": "4.1.0", | ||
"description": "Observable front-end application routing for CanJS.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://canjs.com/doc/can-route.html", |
@@ -9,1 +9,2 @@ require("./param-deparam-test"); | ||
require("./route-map-test"); | ||
require("./route-stop-test"); |
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
106781
39
2491