mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 23:55:20 +00:00
Remove githubId
Enable hook for ebook
This commit is contained in:
@@ -7,7 +7,6 @@ define([
|
||||
var $book = $(dom.find(".book"));
|
||||
|
||||
state.$book = $book;
|
||||
state.githubId = $book.data("github");
|
||||
state.level = $book.data("level");
|
||||
state.basePath = $book.data("basepath");
|
||||
state.revision = $book.data("revision");
|
||||
|
||||
@@ -18,11 +18,6 @@ define([
|
||||
var $book;
|
||||
$book = state.$book;
|
||||
|
||||
if (state.githubId) {
|
||||
// Initialize storage
|
||||
storage.setBaseKey(state.githubId);
|
||||
}
|
||||
|
||||
// Init sidebar
|
||||
sidebar.init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user