mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2026-11-27 02:45:04 +00:00
Move commands to Verb hierarchy
Move flat command functions (BUILD, ANALYZE, etc.) to a shallow Verb hierarchy. Allow command verbs to inherit common functionality and prep for better debugging/logging as well as test mocks.
This commit is contained in:
1 parent
47e8605f50
commit
88c71f6e9c
7 files changed
+90
-14
No files matched your search
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
Definition of the Verb class.
|
||||
@module verb.js
|
||||
@license MIT. See LICENSE.md for details.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
(function(){
|
||||
|
||||
|
||||
|
||||
// Use J. Resig's nifty class implementation
|
||||
var Class = require( '../utils/class' );
|
||||
|
||||
|
||||
|
||||
/**
|
||||
An instantiation of a HackMyResume command.
|
||||
@class Verb
|
||||
*/
|
||||
var Verb = module.exports = Class.extend({
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
}());
|
||||
Reference in new issue
Block a user