Okay I think I know what you’re looking for. I’m not 100% sure how to make the change, but someone else here may be able to help.
notificationReceived: function(notification, payload, sender){
if (notification === 'DOM_OBJECTS_CREATED'){
MM.getModules().exceptModule(this).exceptWithClass('clock').enumerate(function(module){
module.hide(1000, function(){
});
});
}
},
Is there a simple way to include the ‘calendar’ and ‘weather’ modules in the exceptWithClass call? I don’t know how to include multiple Classes in this kind of context.