1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-08-14 20:41:01 +01:00

Refactor generators to CoffeeScript classes.

This commit is contained in:
hacksalot
2016-02-02 13:38:12 -05:00
parent 63a0c78fc5
commit f72b02a0f4
26 changed files with 276 additions and 183 deletions

View File

@@ -1,7 +1,7 @@
###*
Definition of the LaTeXGenerator class.
@license MIT. See LICENSE.md for details.
@module generators/latex-generator
@license MIT. See LICENSE.md for details.
###
TemplateGenerator = require './template-generator'
@@ -9,6 +9,6 @@ TemplateGenerator = require './template-generator'
###*
LaTeXGenerator generates a LaTeX resume via TemplateGenerator.
###
LaTeXGenerator = module.exports = TemplateGenerator.extend
module.exports = class LaTeXGenerator extends TemplateGenerator
init: () -> @_super 'latex', 'tex'
constructor: () -> super 'latex', 'tex'