summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/book.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/book.js b/lib/book.js
index 1d3a0d2..dac73f8 100644
--- a/lib/book.js
+++ b/lib/book.js
@@ -365,6 +365,14 @@ Book.prototype.contentLink = error.deprecateMethod(function(s) {
return this.output.toURL(s);
}, '.contentLink() is deprecated, use ".output.toURL()" instead');
+Book.prototype.contentPath = error.deprecateMethod(function(s) {
+ return this.output.toURL(s);
+}, '.contentPath() is deprecated, use ".output.toURL()" instead');
+
+Book.prototype.isSubBook = error.deprecateMethod(function() {
+ return this.isLanguageBook();
+}, '.isSubBook() is deprecated, use ".isLanguageBook()" instead');
+
// Initialize a book
Book.init = function(fs, root, opts) {