2
0
Эх сурвалжийг харах

PDF.js version 1.5.256 - See mozilla/pdf.js@1c0433586e1d2e59c2d93f4b565a28055eaaeeb4

Pdf Bot 9 жил өмнө
parent
commit
4444120ecf

+ 1 - 1
bower.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.5.254",
+  "version": "1.5.256",
   "main": [
     "build/pdf.js",
     "build/pdf.worker.js"

+ 2 - 2
build/pdf.combined.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
   // Use strict in our context only - users might not want it
   'use strict';
 
-var pdfjsVersion = '1.5.254';
-var pdfjsBuild = 'b261203';
+var pdfjsVersion = '1.5.256';
+var pdfjsBuild = '1c04335';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?

+ 2 - 2
build/pdf.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {}));
   // Use strict in our context only - users might not want it
   'use strict';
 
-var pdfjsVersion = '1.5.254';
-var pdfjsBuild = 'b261203';
+var pdfjsVersion = '1.5.256';
+var pdfjsBuild = '1c04335';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?

+ 2 - 2
build/pdf.worker.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {}));
   // Use strict in our context only - users might not want it
   'use strict';
 
-var pdfjsVersion = '1.5.254';
-var pdfjsBuild = 'b261203';
+var pdfjsVersion = '1.5.256';
+var pdfjsBuild = '1c04335';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.5.254",
+  "version": "1.5.256",
   "main": "build/pdf.js",
   "description": "Generic build of Mozilla's PDF.js library.",
   "keywords": [

+ 4 - 1
web/compatibility.js

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