Sha256: bea722d93c0605f2becba82be07e2c5d220b8fc8383282c81f1b0b2c0275e6e7

Contents?: true

Size: 856 Bytes

Versions: 22

Compression:

Stored size: 856 Bytes

Contents

# The RSence namespace
RSence =
  
  # Call this method from the index page for
  # client-only features
  clientConf: (_clientPrefix)->
    HThemeManager.themePath = _clientPrefix+'/themes'
    HThemeManager._start()

  # Call this method from the index page to
  # setup the environment variables and to
  # start synchronizing immediately afterwards.
  serverConf: (_clientPrefix, _helloUrl) ->
    COMM.ClientPrefix = _clientPrefix
    COMM.Transporter.HelloUrl = _helloUrl
    RSence.clientConf( _clientPrefix )
    COMM.AutoSyncStarter.start()
    null
  
  # Storage for guiTrees, cantains
  # JSONRenderer instances by plugin name.
  guiTrees: {}

  killGuiTree: (_guiName)->
    _guiTrees = RSence.guiTrees
    _guiTree = _guiTrees[_guiName]
    if _guiTree?
      _guiTree.die()
      _guiTrees[_guiName] = null
      delete _guiTrees[_guiName]

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
rsence-pre-2.3.0.6 js/core/rsence_ns/rsence_ns.coffee
rsence-pre-2.3.0.5 js/core/rsence_ns/rsence_ns.coffee
rsence-pre-2.3.0.4 js/core/rsence_ns/rsence_ns.coffee
rsence-pre-2.3.0.3 js/core/rsence_ns/rsence_ns.coffee
rsence-pre-2.3.0.2 js/core/rsence_ns/rsence_ns.coffee
rsence-pre-2.3.0.1 js/core/rsence_ns/rsence_ns.coffee
rsence-pre-2.3.0.0 js/core/rsence_ns/rsence_ns.coffee
rsence-2.2.5 js/core/rsence_ns/rsence_ns.coffee
rsence-2.2.4 js/core/rsence_ns/rsence_ns.coffee
rsence-2.2.3 js/core/rsence_ns/rsence_ns.coffee
rsence-2.2.2 js/core/rsence_ns/rsence_ns.coffee
rsence-pre-2.2.2.1 js/core/rsence_ns/rsence_ns.coffee
rsence-pre-2.2.2.0 js/core/rsence_ns/rsence_ns.coffee
rsence-2.2.1 js/core/rsence_ns/rsence_ns.coffee
rsence-2.2.0 js/core/rsence_ns/rsence_ns.coffee
rsence-pre-2.2.0.38 js/core/rsence_ns/rsence_ns.coffee
rsence-pre-2.2.0.37 js/core/rsence_ns/rsence_ns.coffee
rsence-pre-2.2.0.36 js/core/rsence_ns/rsence_ns.coffee
rsence-pre-2.2.0.35 js/core/rsence_ns/rsence_ns.coffee
rsence-pre-2.2.0.34 js/core/rsence_ns/rsence_ns.coffee