mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Traces pdf.js version
This commit is contained in:
parent
fe3697a977
commit
7b70710565
4 changed files with 22 additions and 19 deletions
13
src/pdf.js
13
src/pdf.js
|
@ -16,18 +16,17 @@
|
|||
*/
|
||||
|
||||
var PDFJS = {};
|
||||
//#if BUNDLE_VERSION
|
||||
//#expand PDFJS.version = '__BUNDLE_VERSION__';
|
||||
//#endif
|
||||
//#if BUNDLE_BUILD
|
||||
//#expand PDFJS.build = '__BUNDLE_BUILD__';
|
||||
//#endif
|
||||
|
||||
(function pdfjsWrapper() {
|
||||
// Use strict in our context only - users might not want it
|
||||
'use strict';
|
||||
|
||||
PDFJS.build =
|
||||
//#if !BUNDLE_VERSION
|
||||
'PDFJSSCRIPT_BUNDLE_VER';
|
||||
//#else
|
||||
//#expand '__BUNDLE_VERSION__';
|
||||
//#endif
|
||||
|
||||
//#expand __BUNDLE__
|
||||
|
||||
}).call((typeof window === 'undefined') ? this : window);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue