i still love you web console!

This commit is contained in:
Corey Johnson 2011-08-27 19:13:34 -07:00
parent 55f40a1b3e
commit 57d81aea8d

View File

@ -1,6 +1,10 @@
# This file is the first thing loaded on startup.
console.log = (thing) -> OSX.NSLog thing.toString() if thing?
console.originalLog = console.log
console.log = (thing) ->
OSX.NSLog thing.toString() if thing?
console.originalLog(thing)
# load require() function
root = OSX.NSBundle.mainBundle.resourcePath