Browse Source

Merge pull request #3387 from yurydelendik/preserve-pdfjs

Preserving PDFJS in the generic builds
Yury Delendik 12 years ago
parent
commit
2dc603a3a9
  1. 6
      src/pdf.js

6
src/pdf.js

@ -15,7 +15,11 @@ @@ -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…
Cancel
Save