Skip to content

Commit 9754d0a

Browse files
committed
fix router
1 parent 2ec00fe commit 9754d0a

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

build/router.js

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/router.coffee

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ class Router
137137

138138
if fn?
139139
res = fn.call context, done, next
140-
res.then() if res? and Promise? and res instanceof Promise
141140

142141
return
143142

0 commit comments

Comments
 (0)