This commit is contained in:
Chris Wanstrath 2011-08-19 01:48:51 -07:00
parent 5ffdd21bae
commit e3760fb52d
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
console.log = OSX.NSLog
Chrome.init()
editor = ace.edit "editor"
editor.setTheme "ace/theme/twilight"

View File

@ -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