Adds svg.js to the generic and singlefile builds
This commit is contained in:
parent
bc574aa629
commit
0f862e7eb3
1
make.js
1
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');
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user