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:
@@ -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'
|
||||
|
Reference in New Issue
Block a user