mirror of
https://github.com/atom/atom.git
synced 2026-02-08 13:45:09 -05:00
i still love you web console!
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user