diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-04-06 17:13:10 -0700 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-04-06 17:13:10 -0700 |
commit | 9ffb1a062f6bfa4c3253eb40c89ba54e6e429fe4 (patch) | |
tree | 125ce2fb57852b3a5fe90a53c5d2197f4bfe8170 /theme/javascript/core/state.js | |
parent | 536c48096938ef141fdf4351739f8362e80641da (diff) | |
download | gitbook-9ffb1a062f6bfa4c3253eb40c89ba54e6e429fe4.zip gitbook-9ffb1a062f6bfa4c3253eb40c89ba54e6e429fe4.tar.gz gitbook-9ffb1a062f6bfa4c3253eb40c89ba54e6e429fe4.tar.bz2 |
Use cache in localstorage to store search index
Diffstat (limited to 'theme/javascript/core/state.js')
-rw-r--r-- | theme/javascript/core/state.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/theme/javascript/core/state.js b/theme/javascript/core/state.js index 5ed11e8..79876b9 100644 --- a/theme/javascript/core/state.js +++ b/theme/javascript/core/state.js @@ -8,6 +8,7 @@ define([ 'githubId': $book.data("github"), 'level': $book.data("level"), - 'basePath': $book.data("basepath") + 'basePath': $book.data("basepath"), + 'revision': $book.data("revision") }; });
\ No newline at end of file |