 globals = @
 
 CODE_CHANGE_TIMEOUT = 1000
+MODEL_FORMATTING_INDENTATION = 2
 
 MessageType = GE.makeConstantSet("Error", "Info")
 


spinner = new Spinner(SPINNER_OPTS)

lastModel = new GE.Model()
currentFrame = 0
currentModelData = null
currentAssets = null


# returns a new model
executeCode = ->
  [result, patches] = GE.runStep(currentModel, currentLoadedAssets, currentActions, currentLayout)
  return currentModel.applyPatches(patches)

