simple-confluence-to-markdown
Version:
Convert Confluence Pages to Markdown
26 lines (17 loc) • 465 B
JavaScript
// Generated by CoffeeScript 1.12.7
(function() {
var PageFactory;
PageFactory = (function() {
var Page;
Page = require('./Page');
function PageFactory(formatter, utils) {
this.formatter = formatter;
this.utils = utils;
}
PageFactory.prototype.create = function(fullPath) {
return new Page(fullPath, this.formatter, this.utils);
};
return PageFactory;
})();
module.exports = PageFactory;
}).call(this);