Merge pull request #7315 from McGiogen/bug-usestrict-compatibilityjs

Solving issue #7307, 'use strict' context in compatibility.js
This commit is contained in:
Yury Delendik 2016-05-12 15:18:43 -05:00
commit 1c0433586e

View File

@ -14,6 +14,7 @@
*/ */
/* globals VBArray, PDFJS */ /* globals VBArray, PDFJS */
(function compatibilityWrapper() {
'use strict'; 'use strict';
// Initializing PDFJS global object here, it case if we need to change/disable // Initializing PDFJS global object here, it case if we need to change/disable
@ -591,3 +592,5 @@ if (typeof PDFJS === 'undefined') {
configurable: true configurable: true
}); });
})(); })();
}).call((typeof window === 'undefined') ? this : window);