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

Fix JSON Resume theme breakage.

Fixes #128.
This commit is contained in:
hacksalot
2016-01-30 11:31:39 -05:00
parent d69e4635be
commit 1c416f39d3
4 changed files with 74 additions and 69 deletions

View File

@ -36,10 +36,11 @@ Definition of the JRSGenerator class.
generate: function(json, jst, format, cssInfo, opts, theme) {
var org, rezHtml, turnoff;
turnoff = ['log', 'error', 'dir'];
org = turnoff.map(c)(function() {
org = turnoff.map(function(c) {
var ret;
ret = console[c];
return console[c] = function() {};
console[c] = function() {};
return ret;
});
rezHtml = theme.render(json.harden());
turnoff.forEach(function(c, idx) {