diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-19 22:39:23 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-19 22:39:23 +0100 |
commit | c15399613cf3e589eb106d37221fae9c54002d74 (patch) | |
tree | 0ae3f7140eccbbbe0a3b156400179acec29a8e0e /lib/generator.js | |
parent | d6f7f1f4fb12ac1c24624aa8358f8149ec720622 (diff) | |
download | gitbook-c15399613cf3e589eb106d37221fae9c54002d74.zip gitbook-c15399613cf3e589eb106d37221fae9c54002d74.tar.gz gitbook-c15399613cf3e589eb106d37221fae9c54002d74.tar.bz2 |
Normalize paths in html content
Diffstat (limited to 'lib/generator.js')
-rw-r--r-- | lib/generator.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/generator.js b/lib/generator.js index 58a9c79..fa6b8b0 100644 --- a/lib/generator.js +++ b/lib/generator.js @@ -83,9 +83,4 @@ BaseGenerator.prototype.finish = function() { return Q.reject(new Error("Could not finish generation")); }; -// Modify an extension from a path -BaseGenerator.prototype.changeExtension = function(filename, newext) { - return path.basename(filename, path.extname(filename))+newext; -} - module.exports = BaseGenerator; |