Moves preprocessor stuff to the gulpfile.

This commit is contained in:
Yury Delendik 2017-02-04 08:19:46 -06:00
parent 6f0cf8c4cb
commit 2049cf01db
8 changed files with 370 additions and 429 deletions

View file

@ -18,7 +18,7 @@ var PAGE_NUMBER = 1;
var PAGE_SCALE = 1.5;
var SVG_NS = 'http://www.w3.org/2000/svg';
PDFJS.workerSrc = '../../build/pdf.worker.js';
PDFJS.workerSrc = '../../build/generic/build/pdf.worker.js';
function buildSVG(viewport, textContent) {
// Building SVG with size of the viewport (for simplicity)