diff --git a/make.js b/make.js index 4a3e6e0f9..55945af0b 100644 --- a/make.js +++ b/make.js @@ -380,6 +380,7 @@ target.bundle = function(args) { 'display/pattern_helper.js', 'display/font_loader.js', 'display/annotation_helper.js', + 'display/svg.js' ]); var srcFiles = builder.getWorkerSrcFiles('src/worker_loader.js'); diff --git a/src/display/svg.js b/src/display/svg.js index 3c8fd24b3..d84b6a1e6 100644 --- a/src/display/svg.js +++ b/src/display/svg.js @@ -19,6 +19,7 @@ 'use strict'; +//#if (GENERIC || SINGLE_FILE) var convertImgDataToPng = (function convertImgDataToPngClosure() { var PNG_HEADER = new Uint8Array([0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a]); @@ -1117,4 +1118,4 @@ var SVGGraphics = (function SVGGraphicsClosure() { })(); PDFJS.SVGGraphics = SVGGraphics; - +//#endif