diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-10-05 16:47:19 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-10-05 16:47:19 +0200 |
commit | 3d1f057373836092623766809bbe0551b56b50b6 (patch) | |
tree | fa6ccf99f6c7611e0b9ecbdf045a280f68795dd6 /theme/javascript/core/state.js | |
parent | 0679807517f2b53954b24434bbf7a847fe833c01 (diff) | |
download | gitbook-3d1f057373836092623766809bbe0551b56b50b6.zip gitbook-3d1f057373836092623766809bbe0551b56b50b6.tar.gz gitbook-3d1f057373836092623766809bbe0551b56b50b6.tar.bz2 |
Switch to gulp/browserify
Diffstat (limited to 'theme/javascript/core/state.js')
-rwxr-xr-x | theme/javascript/core/state.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/theme/javascript/core/state.js b/theme/javascript/core/state.js deleted file mode 100755 index de5c65c..0000000 --- a/theme/javascript/core/state.js +++ /dev/null @@ -1,18 +0,0 @@ -define([ - "jQuery" -], function() { - var state = {}; - - state.update = function(dom) { - var $book = $(dom.find(".book")); - - state.$book = $book; - state.level = $book.data("level"); - state.basePath = $book.data("basepath"); - state.revision = $book.data("revision"); - }; - - state.update($); - - return state; -});
\ No newline at end of file |