The history started flag is inaccessible to the application:
var Router = require('ampersand-router');
router = new Router()
console.log(router.history.started);
// undefined
This pull request adds a method to the History class that simply returns the started flag. That way the history state can be accessed with router.history.started()
The history started flag is inaccessible to the application:
This pull request adds a method to the History class that simply returns the started flag. That way the history state can be accessed with
router.history.started()