summaryrefslogtreecommitdiffstats
path: root/lib/backbone/page.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-01-27 21:56:00 +0100
committerSamy Pessé <samypesse@gmail.com>2016-01-27 21:56:00 +0100
commit8d277e9108afa6a027c61feb581a2150958f8571 (patch)
tree708a272a939c3e2089a2280d1358a4a9566e412e /lib/backbone/page.js
parentf305d57ab7702c3ca10fd6e32366d19e524ee1f0 (diff)
downloadgitbook-8d277e9108afa6a027c61feb581a2150958f8571.zip
gitbook-8d277e9108afa6a027c61feb581a2150958f8571.tar.gz
gitbook-8d277e9108afa6a027c61feb581a2150958f8571.tar.bz2
Add parsing of the glossary
Diffstat (limited to 'lib/backbone/page.js')
-rw-r--r--lib/backbone/page.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/backbone/page.js b/lib/backbone/page.js
index fdfe3f7..33bd636 100644
--- a/lib/backbone/page.js
+++ b/lib/backbone/page.js
@@ -10,6 +10,10 @@ function Page(book, filename) {
this.filename = filename;
}
+// Return the filename of the page with another extension
+Page.prototype.withExtension = function(ext) {
+ return
+};
module.exports = Page;