Commit ef3540a0 ef3540a0d9e7f75cda63d3d7b5a0acbec523bbee by Nicolas Perriault

added an event

1 parent 3a3df80a
......@@ -152,6 +152,9 @@ var Casper = function Casper(options) {
this.on('deprecated', function onDeprecated(message) {
this.echo('[deprecated] ' + message, 'COMMENT');
});
// dispatching an event when configuration is achieved
this.emit('init');
};
// Casper class is an EventEmitter
......