diff options
Diffstat (limited to 'lib/output/json.js')
-rw-r--r-- | lib/output/json.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output/json.js b/lib/output/json.js index 5805579..86a2307 100644 --- a/lib/output/json.js +++ b/lib/output/json.js @@ -16,7 +16,7 @@ JSONOutput.prototype.onPage = function(page) { // Write as json .then(function() { - var json = that.getPageContext(page); + var json = page.getContext(); // Delete some private properties delete json.config; |