1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-27 13:08:30 +00:00

Initial commit for modular FrankerFaceZ rewrite.

This commit is contained in:
SirStendec 2015-01-12 17:58:07 -05:00
parent b74fdaa22b
commit f1377bc989
27 changed files with 2717 additions and 1034 deletions

15
src/ui/notifications.js Normal file
View file

@ -0,0 +1,15 @@
var FFZ = window.FrankerFaceZ;
FFZ.prototype.show_notification = function(message) {
window.noty({
text: message,
theme: "ffzTheme",
layout: "bottomCenter",
closeWith: ["button"]
}).show();
}
FFZ.ws_commands.message = function(message) {
this.show_notification(message);
}