 
 
   deserialize: ->
-    firebase = new Firebase 'https://ace-tryout.firebaseio.com'
-
-    firebase.child('ali').child('data').on 'value', (data) =>
+    @firebase.child('ali').child('data').on 'value', (data) =>
       snapshot = JSON.parse data.val()
 
       for pane in snapshot

    panes = []

    @forEachSubViewInIDEViews_ (pane) ->
      panes.push pane.serialize()

    firebase = new Firebase 'https://ace-tryout.firebaseio.com/'
    firebase.child('ali').set data: JSON.stringify panes


  updateContent: (data) ->

      ideViewLength  = 0
      ideViewLength += ideView.tabView.panes.length  for ideView in @ideViews
      delete @generatedPanes[pane.view.hash]
      @serialize()

      @statusBar.showInformation()  if ideViewLength is 0

