mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 15:37:46 +03:00
Forward console.log to NSLog in browser process
This commit is contained in:
parent
a4f35a8452
commit
715210944e
@ -57,7 +57,8 @@
|
||||
"text-tmbundle": "1.0.0",
|
||||
"textmate-clojure": "1.0.0",
|
||||
"xml-tmbundle": "1.0.0",
|
||||
"yaml-tmbundle": "1.0.0"
|
||||
"yaml-tmbundle": "1.0.0",
|
||||
"nslog": "0.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"biscotto": "0.0.11",
|
||||
|
@ -2,6 +2,10 @@ fs = require 'fs'
|
||||
path = require 'path'
|
||||
delegate = require 'atom_delegate'
|
||||
optimist = require 'optimist'
|
||||
nslog = require('nslog')
|
||||
|
||||
console.log = (args...) -> nslog(args.join(" "))
|
||||
|
||||
require 'coffee-script'
|
||||
|
||||
atomApplication = null
|
||||
|
Loading…
Reference in New Issue
Block a user