Comment gitbook.state api

This commit is contained in:
Samy Pessé
2015-10-22 16:12:21 +02:00
parent 013f7f09da
commit 4bc56564b4
+4
View File
@@ -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