Adds svg.js to the generic and singlefile builds

This commit is contained in:
Yury Delendik 2014-08-14 13:02:30 -05:00
parent bc574aa629
commit 0f862e7eb3
2 changed files with 3 additions and 1 deletions

View File

@ -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');

View File

@ -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