diff options
Diffstat (limited to 'theme/javascript/state.js')
-rw-r--r-- | theme/javascript/state.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/theme/javascript/state.js b/theme/javascript/state.js index 5fde20f..34e94fe 100644 --- a/theme/javascript/state.js +++ b/theme/javascript/state.js @@ -10,7 +10,11 @@ state.update = function(dom) { state.$book = $book; state.level = $book.data('level'); state.basePath = $book.data('basepath'); + + // Date of build state.revision = $book.data('revision'); + + // Original path of the file state.filepath = $book.data('filepath'); // Absolute url to the root of the book |