diff options
Diffstat (limited to 'lib/output/json.js')
-rw-r--r-- | lib/output/json.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/output/json.js b/lib/output/json.js index 3246407..b66e593 100644 --- a/lib/output/json.js +++ b/lib/output/json.js @@ -1,3 +1,4 @@ +var _ = require('lodash'); var conrefsLoader = require('./conrefs'); var JSONOutput = conrefsLoader(); @@ -16,7 +17,7 @@ JSONOutput.prototype.onPage = function(page) { // Write as json .then(function() { - var json = page.getContext(); + var json = page.getOutputContext(that); // Delete some private properties delete json.config; |