var FFZ = window.FrankerFaceZ, constants = require('../constants'); FFZ.prototype.setup_css = function() { this.log("Injecting main FrankerFaceZ CSS."); var s = this._main_style = document.createElement('link'); s.id = "ffz-ui-css"; s.setAttribute('rel', 'stylesheet'); s.setAttribute('href', constants.SERVER + "script/style.css?_=" + Date.now()); document.head.appendChild(s); jQuery.noty.themes.ffzTheme = { name: "ffzTheme", style: function() { this.$bar.removeClass().addClass("noty_bar").addClass("ffz-noty").addClass(this.options.type); }, callback: { onShow: function() {}, onClose: function() {} } }; }