Merge pull request #3387 from yurydelendik/preserve-pdfjs
Preserving PDFJS in the generic builds
This commit is contained in:
commit
2dc603a3a9
@ -15,7 +15,11 @@
|
||||
* 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
|
||||
//#expand PDFJS.version = '__BUNDLE_VERSION__';
|
||||
//#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user