1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-07-05 09:51:04 +01:00
This commit is contained in:
hacksalot
2016-01-18 00:34:57 -05:00
parent c9e45d4991
commit 712cba57b8
17 changed files with 122 additions and 229 deletions

View File

@ -26,7 +26,9 @@ Implementation of the 'peek' verb for HackMyResume.
},
invoke: function() {
this.stat( HMEVENT.begin, { cmd: 'peek' } );
peek.apply( this, arguments );
this.stat( HMEVENT.end );
}
});
@ -39,7 +41,6 @@ Implementation of the 'peek' verb for HackMyResume.
function peek( src, dst, opts ) {
if(!src || !src.length) throw {fluenterror: HMSTATUS.resumeNotFound};
this.stat( HMEVENT.begin );
var objPath = (dst && dst[0]) || '';
@ -55,7 +56,6 @@ Implementation of the 'peek' verb for HackMyResume.
this.stat( HMEVENT.afterPeek, { file: t, requested: objPath, target: targ } );
}, this);
this.stat( HMEVENT.end );
}