 $ = require 'ejquery'
+ace = require 'ace/ace'
 Prelude = require 'vendor/prelude/prelude-browser-min'
 CodeMirror = require 'vendor/codemirror/codemirror'
 TimeLine = require 'app/UniqueTimeLine'

    h: $(window).height()

  $("#centerBar").height winSize.h - 20
  $("#sourceWrap .CodeMirror-scroll").css "max-height", (winSize.h - 175) + "px"
  $("#rightColumn").width winSize.w - $("#leftColumn").width() - 60
  $("#rightColumn").css "max-height", (winSize.h - 25) + "px"
  setMaxPreWidth $("#output pre")

  eval (compiler.preExecute? code) ? code

history = new History
sourceChange = (e) ->
  sourceCompiled = false
  sourceChanged = true
  history.add e
