Skip to content

Instantly share code, notes, and snippets.

function hideMessages (users) {
if (typeof user === "string") users = [users];
for (var i = 0; i < $('.Chat ul li').length; i++) {
if ($.inArray($('.Chat ul li')[i].data("user"), users)) {
$('.Chat ul li')[i].data("user").css('display', 'none !important');
}
}
}
@Kangaroopower
Kangaroopower / gist:5917646
Last active December 19, 2015 07:19
Igloo 2.0 slowly being brought up to speed with the old igloo. Relies on jin and flash.
/*global mw:true, jin:true */
// INCLUDES
function iglooViewable () {
}
_iglooViewable = new iglooViewable();
function editor () {
Editor.load('source', setup);
Editor.load('VE', hide);
}