Permalink
Browse files

Merge pull request #2 from grncdr/patch-1

Expose the base nowjs object
  • Loading branch information...
2 parents 99eddd4 + d37312e commit 53c0f730931998a2163d644f32fee3014f93f880 kadir committed Nov 12, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 coffeemate.coffee
View
@@ -82,7 +82,9 @@ class Coffeemate extends connect.HTTPServer
connect.HTTPServer.call @, []
# enable nowjs if available
- try @now = require('now').initialize(@).now
+ try
+ @nowjs = require('now')
+ @now = @nowjs.initialize(@).now
# This method helps you define sub applications under given base path.
# The context of callback is coffeemate instance itself and any router definition

0 comments on commit 53c0f73

Please sign in to comment.