Skip to content

Commit

Permalink
bugfix for breaking change in coffeescript 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Bell committed Jan 12, 2016
1 parent 460a1bd commit 0b04f8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/poly/static/js/poly/controller_state.coffee
Expand Up @@ -8,7 +8,7 @@ class ControllerState
@photo_id = args.photo_id if args.photo_id?

# action log and undo/redo
@undoredo = new UndoRedo(ui, args)
@undoredo = new UndoRedo(@ui, args)
@log = new ActionLog()
@log.action($.extend(true, {name:'init'}, args))

Expand Down Expand Up @@ -38,7 +38,7 @@ class ControllerState
@btn_zoom_reset = if args.btn_zoom_reset? then args.btn_zoom_reset else '#btn-zoom-reset'

# gui elements
@stage_ui = new StageUI(ui, args)
@stage_ui = new StageUI(@ui, args)
@closed_polys = [] # PolygonUI elements
@open_poly = null
@sel_poly = null
Expand Down

0 comments on commit 0b04f8c

Please sign in to comment.