Preserving PDFJS in the generic builds
This commit is contained in:
parent
cce3e9cd1b
commit
04a7b036ec
@ -15,7 +15,11 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var PDFJS = {};
|
// Initializing PDFJS global object (if still undefined)
|
||||||
|
if (typeof PDFJS === 'undefined') {
|
||||||
|
(typeof window !== 'undefined' ? window : this).PDFJS = {};
|
||||||
|
}
|
||||||
|
|
||||||
//#if BUNDLE_VERSION
|
//#if BUNDLE_VERSION
|
||||||
//#expand PDFJS.version = '__BUNDLE_VERSION__';
|
//#expand PDFJS.version = '__BUNDLE_VERSION__';
|
||||||
//#endif
|
//#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user