 
 
   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

      @logChange change

  registerPane: (pane) ->
    @generatedPanes or= {}
    @generatedPanes[pane.view.hash] = yes
    view.on 'ChangeHappened', (change) =>
      @logChange change


    panes = []

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

    @firebase.child(KD.nick()).child('panels').set panes


  updateContent: (data) ->
