mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-07-17 23:47:25 +01:00
Refactor verb invocations to base.
This commit is contained in:
@@ -17,12 +17,7 @@ HMEVENT = require('../core/event-codes');
|
||||
|
||||
ConvertVerb = module.exports = Verb.extend
|
||||
|
||||
init: -> @._super 'convert'
|
||||
|
||||
invoke: ->
|
||||
@.stat HMEVENT.begin, { cmd: 'convert' }
|
||||
convert.apply @, arguments
|
||||
@.stat HMEVENT.end
|
||||
init: -> @_super 'convert', convert
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user