mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-26 08:03:17 +03:00
init
This commit is contained in:
parent
5ffdd21bae
commit
e3760fb52d
@ -1,4 +1,4 @@
|
||||
console.log = OSX.NSLog
|
||||
Chrome.init()
|
||||
|
||||
editor = ace.edit "editor"
|
||||
editor.setTheme "ace/theme/twilight"
|
||||
|
@ -4,6 +4,9 @@ canon = require 'pilot/canon'
|
||||
|
||||
# Handles the UI chrome
|
||||
Chrome =
|
||||
init: ->
|
||||
console.log = OSX.NSLog
|
||||
|
||||
# Returns null or a file path.
|
||||
openPanel: ->
|
||||
panel = OSX.NSOpenPanel.openPanel
|
||||
|
Loading…
Reference in New Issue
Block a user