Permalink
Browse files

change object oriented-ness

  • Loading branch information...
lancejpollard committed Nov 15, 2011
1 parent 34e7641 commit c7df16e5a7000f4e874c0cc546d7e1c8f1bccb90
Showing with 3 additions and 1 deletion.
  1. +3 −1 README.md
View
@@ -25,7 +25,9 @@ global._console ||= require('underscore.logger')
Or to make it an underscore mixin:
``` coffeescript
-_.mixin require('underscore.logger').toMixin()
+_.mixin require('underscore.logger').toObject()
+_.log "It works!"
+_.error "Log something in RED"
```
### Browser

0 comments on commit c7df16e

Please sign in to comment.