mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2026-11-03 07:08:31 +00: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:
1 parent
43564bf380
commit
d77b484e55
2 files changed
+15
-3
No files matched your search
@@ -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