1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Merge pull request #2525 from yurydelendik/version-info

Traces pdf.js version
This commit is contained in:
Brendan Dahl 2013-01-08 11:17:42 -08:00
commit 9635612034
4 changed files with 22 additions and 19 deletions

View file

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