fix m.route.link and m.route.set history replacement
This commit is contained in:
parent
08a4442814
commit
992aa30ccc
11 changed files with 113 additions and 203 deletions
|
|
@ -13,7 +13,7 @@ o.spec("Router.getPath", function() {
|
|||
o.beforeEach(function() {
|
||||
$window = pushStateMock(env)
|
||||
router = new Router($window)
|
||||
router.setPrefix(prefix)
|
||||
router.prefix = prefix
|
||||
onRouteChange = o.spy()
|
||||
onFail = o.spy()
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue