Skip to content

5.0.0

Compare
Choose a tag to compare
@matthewp matthewp released this 05 Jul 17:41
· 71 commits to master since this release

This is a major, breaking change for can-route-pushstate. This creates a new API to use can-route-pushstate, by exporting a constructor function that can be set on the can-route.

import route from "can-route";
import RoutePushstate from "can-route-pushstate";

route.urlData = new RoutePushstate();
route.register("{page}");