candy.js

CandyChats are not dead yet.

Authors

Copyright

© 2011 Amiado Group AG.  All rights reserved.  © 2012-2014 Patrick Stadler & Michael Weibel.  All rights reserved.

Summary
candy.js
CandyCandy base class for initalizing the view and the core
Variables
aboutAbout candy
Functions
initInit view & core

Candy

Candy base class for initalizing the view and the core

Parameters

(Candy) selfitself
(jQuery) $jQuery
Summary
Variables
aboutAbout candy
Functions
initInit view & core

Variables

about

self.about

About candy

Contains

(String) nameCandy
(Float) versionCandy version

Functions

init

self.init = function(service,
options)

Init view & core

Parameters

(String) serviceURL to the BOSH interface
(Object) optionsOptions for candy

Options

(Boolean) debugDebug (Default: false)
(Array|Boolean) autojoinAutojoin these channels.  When boolean true, do not autojoin, wait if the server sends something.
self.about
About candy
self.init = function(service,
options)
Init view & core
Close