summaryrefslogtreecommitdiffstats
path: root/packages/gitbook/src/api/decodeGlobal.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook/src/api/decodeGlobal.js')
-rw-r--r--packages/gitbook/src/api/decodeGlobal.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/gitbook/src/api/decodeGlobal.js b/packages/gitbook/src/api/decodeGlobal.js
index 063683a..c7bbcc7 100644
--- a/packages/gitbook/src/api/decodeGlobal.js
+++ b/packages/gitbook/src/api/decodeGlobal.js
@@ -1,13 +1,13 @@
const decodeConfig = require('./decodeConfig');
/**
- Decode changes from a JS API to a output object.
- Only the configuration can be edited by plugin's hooks
-
- @param {Output} output
- @param {Object} result: result from API
- @return {Output}
-*/
+ * Decode changes from a JS API to a output object.
+ * Only the configuration can be edited by plugin's hooks
+ *
+ * @param {Output} output
+ * @param {Object} result: result from API
+ * @return {Output} output
+ */
function decodeGlobal(output, result) {
let book = output.getBook();
let config = book.getConfig();