       $("#reveal").hide()
 
 handleModeChange = mktee(setStylesheet, toggleDomElemsForMode)
-mode_observable.subscribe(handleModeChange)
+clientModeChangeEventstream.subscribe(handleModeChange)
 
 ################################################################################
 # transform org-mode slides to Reveal.js section tags

    "transform", "transformstart", "transformend"
    "release"]

# hammerEventstream = ($el, event_type) ->
#   $($el).bindAsObservable(event_type)

mkTouchEventstream = ($el, eventTypes=touchTypes) ->
  $el = $($el)
  if not $el.data('hammer')

$ = require "jquery"
Rx = require "rx"
_ = require "underscore"
{EVENTS} = require "./app.core"
{mktee} = require("./utils")

exports.clientModeChangeEventstream = clientModeChangeEventstream = new Rx.Subject()
################################################################################
MODES =
  AUDIENCE: "AUDIENCE",
