webinar/style/style.js

23 lines
831 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Author: Alexander Yakovlev <keloero@oreolek.ru>
*/
/* global window, Candy, jQuery */
var CandyShop = (function(self) { return self; }(CandyShop || {}));
CandyShop.Webinar = (function(self, Candy, $) {
self.init = function(){
template = {
pane: '<div class="row"><div class="column-left"><h1>Каждое воскресенье</h1><h3>Приходите сюда на Школу Рейки</h3><h5>Каждое воскресенье, 17:00 МСК</h5></div><div class="column-right" id="chat-pane">{{> toolbar}}{{> rooms}}</div></div>{{> modal}}'
};
for (var attrname in template) {
Candy.View.Template.Chat[attrname] = template[attrname];
}
//$(Candy).on('candy:view.message.after-show', function(ev, obj) {
//});
};
return self;
}(CandyShop.Webinar || {}, Candy, jQuery));