1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-05-10 07:47:07 +01:00

Clean up CoffeeScript.

This commit is contained in:
hacksalot
2016-02-13 00:40:10 -05:00
parent dbef9f0a35
commit 9927e79900
2 changed files with 13 additions and 12 deletions

View File

@ -90,12 +90,12 @@ module.exports = class TemplateGenerator extends BaseGenerator
generate: ( rez, f, opts ) ->
# Prepare
@opts = EXTEND( true, { }, _defaultOpts, opts );
@opts = EXTEND true, { }, _defaultOpts, opts
# Call the string-based generation method to perform the generation.
genInfo = this.invoke( rez, null )
# Call the string-based generation method
genInfo = @invoke rez, null
outFolder = parsePath( f ).dirname
curFmt = opts.themeObj.getFormat( this.format )
curFmt = opts.themeObj.getFormat @format
# Process individual files within this format. For example, the HTML
# output format for a theme may have multiple HTML files, CSS files,