 
   getURI: -> @uri
 
-  getTitle: -> 
+  getTitle: ->
     @uri.replace('atom://', '')
 
   initialize: (options) ->

      builderConfig = JSON.parse e.data
      @appConfig.builderConfig = builderConfig
      console.log @appConfig
      util.createModule @appConfig, (err) =>
        return console.error err if err?
        console.log 'success'
      window.removeEventListener 'message', getBuilderConfig, false

    window.addEventListener 'message', getBuilderConfig, false




  attached: ->
    util.eventEmitter().on 'server_on', (e)=>
      @.attr 'src', e
       .on 'load', ()=>
        window.frames[0].postMessage JSON.stringify(@appConfig), e

