 
     streams.localSlideEventstream.onNext(ev)
   else
-    # This updates the view but doesn't currently affect the state
+    # This updates the view but doesn't affect the state
     # machine / event history. Thus, the next local event will resume
     # from the previous local state.
     ui.updateRevealForPresentationState(stateChange.newState)

    ev.isRemote = true
    remoteIdx = _.pick(stateChange.prevState.slide, ['h', 'v'])
    localSlideIdx = _.pick(CURRENT_LOCAL_SLIDE_STATE.slide, ['h', 'v'])
    if remoteIdx != localSlideIdx
      syntheticSyncEvent = core.EVENTS.SelectSlide(remoteIdx.h, remoteIdx.v)
      syntheticSyncEvent.isRemote = true
      syntheticSyncEvent.isSynthetic = true

core = require "./app.core"
{revealjsDomToSlideDeck} = require "./app.revealjs_to_slidedeck"
ui = require "./app.ui"
net = require "./app.net"
streams = require "./app.streams"
utils = require "./utils"
