3 ms·
WTF is this for? "js.twitter_widget.bad_words": 'ass,14 words,5 words,anal,anal
by maukdaddy 16y ago
WTF is this for?
"js.twitter_widget.bad_words": 'ass,14 words,5 words,anal,anal
- kellysutton 16y agoThe worst is that it's not even an array, it's a comma-delimited string.
- deleted 16y ago[deleted]
- trevelyan 16y agoWhy is this a bad decision? It's much easier for a non-programmer to update.
- warfangle 16y agoThey probably have a live twitter widget somewhere, and don't want raunchy @mentions to show up. The real wtf, of course, is that it's a comma delimited string - not an array..
- maukdaddy 16y agoOn a quick look I couldn't find that variable referenced anywhere though. And it looks like there are two variables with the same data: js.twitter_widget.bad_words and js.social_stream.badwords
- barrkel 16y agoIt looks to me like a string resource table for translation, possibly auto-included in multiple page, and used by widgets that exist only on some pages.
- deleted 16y ago[deleted]