1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-28 15:27:43 +00:00

3.5.305. Dark CSS tweaks. Add Twitch Prime support. Better channel redesign support. Fix hosting bugs. Fix Emoticon menu bugs. Add github buttons to About page.

This commit is contained in:
SirStendec 2016-10-01 13:43:08 -04:00
parent 8280b93c97
commit 7d35b5c8c3
14 changed files with 369 additions and 107 deletions

View file

@ -328,6 +328,17 @@ module.exports = FFZ.utils = {
// Other Stuff
process_int: function(default_value) {
return function(val) {
if ( typeof val === "string" ) {
val = parseInt(val);
if ( isNaN(val) || ! isFinite(val) )
val = default_value;
}
return val;
}
},
build_srcset: build_srcset,
/*build_tooltip: build_tooltip,
load_emote_data: load_emote_data,*/