     @resources = {}
     @_editorChanged = false
     @content = ''
+    @options =
+     file: ''
+     folder: ''
     @editor = new Editor
      openUrl: @on.openUrl
      onChanged: @on.editorChanged

  PATH = require 'path'

  TEMPORARY_FILE = 'temporary.swp.ds'
  PROTOCOLS = [
   'https://'
   'http://'

     path: file
    @content = "#{FS.readFileSync file}"
    @editor.setText @content
    @_editorChanged = true
    @on.saveTemporary()
    @options.file = @file.path
    @saveOptions()
    @elems.save.style.display = 'inline-block'
    @elems.saveName.textContent = "#{@file.name}"

