abao icon indicating copy to clipboard operation
abao copied to clipboard

More cleaner hook syntax

Open cybertk opened this issue 11 years ago • 0 comments

Current hook syntax is a bit unclear, propose


hook 'GET /path'
.before (test, done) ->
  done()
.after (test, done) ->
  done()

cybertk avatar Oct 24 '14 18:10 cybertk