mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-13 08:44:12 +03:00
i still love you web console!
This commit is contained in:
parent
55f40a1b3e
commit
57d81aea8d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user