Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (11 sloc) 0.36 kB
express = require 'express'
class Application extends express.HTTPServer
moduleKeywords = ['extended']
@extend: (obj) ->
throw('extend(obj) requires obj') unless obj
for key, value of obj when key not in moduleKeywords
@[key] = value
obj.extended?.apply(this)
return this
express.Application = Application
module.exports = express
Jump to Line
Something went wrong with that request. Please try again.