1
0
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:
hacksalot
2016-01-09 08:12:55 -05:00
parent 43564bf380
commit d77b484e55
2 changed files with 15 additions and 3 deletions

View File

@ -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 );
}