diff options
author | Johan Preynat <johan.preynat@gmail.com> | 2016-04-29 15:16:56 +0200 |
---|---|---|
committer | Johan Preynat <johan.preynat@gmail.com> | 2016-04-29 15:16:56 +0200 |
commit | 8578f7d0d1b493e3999e9c31880567db252fe988 (patch) | |
tree | 8b1d2eb6b84c58a1a254ef95b0d97d6071a52828 /lib/api/encodePage.js | |
parent | 07a5daefb025868ecf41054713a18d50e01511c0 (diff) | |
download | gitbook-8578f7d0d1b493e3999e9c31880567db252fe988.zip gitbook-8578f7d0d1b493e3999e9c31880567db252fe988.tar.gz gitbook-8578f7d0d1b493e3999e9c31880567db252fe988.tar.bz2 |
lib/api/encodePage.js: Fix deprecated page.progress assignment
Diffstat (limited to 'lib/api/encodePage.js')
-rw-r--r-- | lib/api/encodePage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/encodePage.js b/lib/api/encodePage.js index 8ad39c5..379d3d5 100644 --- a/lib/api/encodePage.js +++ b/lib/api/encodePage.js @@ -22,7 +22,7 @@ function encodePage(output, page) { result.path = file.getPath(); result.rawPath = fs.resolve(result.path); - deprecate.field(output, 'page.progress', result, 'sections', function() { + deprecate.field(output, 'page.progress', result, 'progress', function() { return encodeProgress(output, page); }, '"page.progress" property is deprecated'); |