diff --git a/HTML/atomicity.coffee b/HTML/atomicity.coffee index 6be604427..71131035d 100644 --- a/HTML/atomicity.coffee +++ b/HTML/atomicity.coffee @@ -1,4 +1,4 @@ -console.log = OSX.NSLog +Chrome.init() editor = ace.edit "editor" editor.setTheme "ace/theme/twilight" diff --git a/HTML/osx.coffee b/HTML/osx.coffee index 225702e8b..02bc36c53 100644 --- a/HTML/osx.coffee +++ b/HTML/osx.coffee @@ -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