Browse Source

PDF.js version 1.4.231 - See mozilla/pdf.js@fa2f80d0fde9ec3b296b1ab23bb593a58c43a34f

master v1.4.231
Pdf Bot 9 years ago
parent
commit
f16596f36c
  1. 2
      bower.json
  2. 4
      build/pdf.combined.js
  3. 6
      build/pdf.js
  4. 18
      build/pdf.worker.entry.js
  5. 4
      build/pdf.worker.js
  6. 7
      package.json

2
bower.json

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

4
build/pdf.combined.js

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

6
build/pdf.js

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {}));
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it
'use strict'; 'use strict';
var pdfjsVersion = '1.4.229'; var pdfjsVersion = '1.4.231';
var pdfjsBuild = 'b834b68'; var pdfjsBuild = 'fa2f80d';
var pdfjsFilePath = var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ? typeof document !== 'undefined' && document.currentScript ?
@ -8612,8 +8612,6 @@ if (typeof window === 'undefined') {
useRequireEnsure = true; useRequireEnsure = true;
} }
if (typeof __webpack_require__ !== 'undefined') { if (typeof __webpack_require__ !== 'undefined') {
// Webpack - get/bundle pdf.worker.js as additional file.
workerSrc = require('entry?name=[hash]-worker.js!./pdf.worker.js');
useRequireEnsure = true; useRequireEnsure = true;
} }
if (typeof requirejs !== 'undefined' && requirejs.toUrl) { if (typeof requirejs !== 'undefined' && requirejs.toUrl) {

18
build/pdf.worker.entry.js

@ -0,0 +1,18 @@
/* Copyright 2016 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
(typeof window !== 'undefined' ? window : {}).pdfjsDistBuildPdfWorker =
require('./pdf.worker.js');

4
build/pdf.worker.js vendored

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

7
package.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.4.229", "version": "1.4.231",
"main": "build/pdf.js", "main": "build/pdf.js",
"description": "Generic build of Mozilla's PDF.js library.", "description": "Generic build of Mozilla's PDF.js library.",
"keywords": [ "keywords": [
@ -11,9 +11,10 @@
"homepage": "http://mozilla.github.io/pdf.js/", "homepage": "http://mozilla.github.io/pdf.js/",
"bugs": "https://github.com/mozilla/pdf.js/issues", "bugs": "https://github.com/mozilla/pdf.js/issues",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": {
"node-ensure": "^0.0.0"
},
"browser": { "browser": {
"entry?name=[hash]-worker.js!./pdf.worker.js": false,
"./build/pdf.worker.js": false,
"node-ensure": false "node-ensure": false
}, },
"format": "amd", "format": "amd",

Loading…
Cancel
Save