mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Use strict and expose in build version
This commit is contained in:
parent
102469d20c
commit
10fb0dc383
2 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
var Metadata = (function MetadataClosure() {
|
||||
'use strict';
|
||||
|
||||
var Metadata = PDFJS.Metadata = (function MetadataClosure() {
|
||||
function Metadata(meta) {
|
||||
if (typeof meta === 'string') {
|
||||
var parser = new DOMParser();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue