mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-05-10 07:47:07 +01:00
Verbs are event emitters.
Let verbs source events through EventEmitter. Using aggregation is a bit simpler here than extending because of the Resig "Class" stuff.
This commit is contained in:
@ -32,6 +32,10 @@ Implementation of the 'generate' verb for HackMyResume.
|
||||
|
||||
var BuildVerb = module.exports = Verb.extend({
|
||||
|
||||
init: function() {
|
||||
this._super();
|
||||
},
|
||||
|
||||
invoke: function() {
|
||||
build.apply( this, arguments );
|
||||
}
|
||||
|
Reference in New Issue
Block a user