1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-27 21:05:53 +00:00

Added aggressive caching of Twitch emoticon set data for more reliable tooltips.

This commit is contained in:
SirStendec 2015-07-31 21:40:51 -04:00
parent d8c017bab0
commit 08ad23ec02
10 changed files with 193 additions and 102 deletions

View file

@ -141,7 +141,7 @@ FFZ.prototype.ws_create = function() {
} else {
var success = cmd === 'True',
has_callback = f._ws_callbacks.hasOwnProperty(request);
has_callback = typeof f._ws_callbacks[request] === "function";
if ( ! has_callback )
f.log("Socket Reply to " + request + " - " + (success ? "SUCCESS" : "FAIL"), data, false, true);