Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
Remove LazyApp.extend
Browse files Browse the repository at this point in the history
  • Loading branch information
grncdr committed Apr 10, 2012
1 parent 0a1ca1e commit 9d86d2b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lazorse.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -404,10 +404,6 @@ class LazyApp
new_middle = [ connect[name](args...) ]
@_stack.splice i, 0, new_middle...

extend: (server) ->
### Extend a connect server with the middleware stack from this app ###
server.use mw for mw in @_stack

handle: (req, res, goodbyeLazorse) ->
### Act as a single connect middleware ###
stack = (mw for mw in @_stack)
Expand Down

0 comments on commit 9d86d2b

Please sign in to comment.