var alert = new Alert({
    'class': 'alert-success fade in',
    content: "<strong>Oh yeah!</strong> That's just lookin' fine",
    closable: true
}, 'my-alert');

alert.startup();

alert.on('close', function (ev) {
    console.info('Alert about to be closed');
});

alert.on('closed', function (ev) {
    console.info('Alert is now closed');
});
var alert = new Alert({
    'class': 'alert fade in',
    content: "<strong><i><b>Holy guacamole!</b></i></strong> Best check yo self, you're not looking too good.",
    closable: true
}, 'my-alert');

alert.startup();

alert.on('close', function (ev) {
    console.info('Alert about to be closed');
});

alert.on('closed', function (ev) {
    console.info('Alert is now closed');
});
Adjust Alert snippets to make for equal outcome between programmatic and declarative instantiation
Adjust Alert snippets to make for equal outcome between programmatic and declarative instantiation
