Skip to content

Commit 772d5d0

Browse files
committed
no longer expose router on transition
1 parent f59b526 commit 772d5d0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/route.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const internalKeysRE = /^(component|subRoutes)$/
1+
const internalKeysRE = /^(component|subRoutes|fullPath)$/
22

33
/**
44
* Route Context Object
@@ -33,7 +33,6 @@ export default class Route {
3333
}
3434
// expose path and router
3535
this.path = path
36-
this.router = router
3736
// for internal use
3837
this.matched = matched || router._notFoundHandler
3938
// Important: freeze self to prevent observation

0 commit comments

Comments
 (0)