mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 17:55:37 +02:00
Replaces all preprocessor directives with PDFJSDev calls.
This commit is contained in:
parent
bf52ff156d
commit
0576c9c6c6
32 changed files with 1145 additions and 904 deletions
|
@ -24,7 +24,8 @@
|
|||
factory((root.pdfjsDisplaySVG = {}), root.pdfjsSharedUtil);
|
||||
}
|
||||
}(this, function (exports, sharedUtil) {
|
||||
//#if (GENERIC || SINGLE_FILE)
|
||||
if (typeof PDFJSDev === 'undefined' ||
|
||||
PDFJSDev.test('GENERIC || SINGLE_FILE')) {
|
||||
var FONT_IDENTITY_MATRIX = sharedUtil.FONT_IDENTITY_MATRIX;
|
||||
var IDENTITY_MATRIX = sharedUtil.IDENTITY_MATRIX;
|
||||
var ImageKind = sharedUtil.ImageKind;
|
||||
|
@ -1208,5 +1209,5 @@ var SVGGraphics = (function SVGGraphicsClosure() {
|
|||
})();
|
||||
|
||||
exports.SVGGraphics = SVGGraphics;
|
||||
//#endif
|
||||
}
|
||||
}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue