blob: e75ae7cf219839d77fd9acfb841ad778e7aca4a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
var Promise = require('../../utils/promise');
var Modifier = require('../');
function JSONGenerator(book) {
this.book = book;
}
JSONGenerator.prototype.onPage = function(page) {
return Modifier.HTMLTransformations(page, [
Modifier.svgToImg(),
Modifier.svgToPng()
])
.then(function() {
});
};
JSONGenerator.prototype.onAsset = function(file) {
};
module.exports = JSONGenerator;
|