summaryrefslogtreecommitdiffstats
path: root/lib/output/base.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/output/base.js')
-rw-r--r--lib/output/base.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/output/base.js b/lib/output/base.js
index f5a8e4f..4190559 100644
--- a/lib/output/base.js
+++ b/lib/output/base.js
@@ -175,18 +175,6 @@ Output.prototype.onResolveTemplate = function(from, to) {
// ---- Utilities ----
-// Return the complete templating context for a page
-Output.prototype.getPageContext = function(page) {
- return _.extend(
- page.getContext(),
- gitbook.getContext(),
- this.book.getContext(),
- this.book.summary.getContext(),
- this.book.glossary.getContext(),
- this.book.config.getContext()
- );
-};
-
// Resolve a file path in the context of a specific page
// Result is an "absolute path relative to the output folder"
Output.prototype.resolveForPage = function(page, href) {