Browse Source

PDF.js version 1.0.117

master v1.0.117
Yury Delendik 11 years ago
parent
commit
b99e3cddf5
  1. 2
      bower.json
  2. 4
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 4
      build/pdf.worker.js
  5. 2
      package.json
  6. 7
      web/compatibility.js

2
bower.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.0.114", "version": "1.0.117",
"keywords": [ "keywords": [
"Mozilla", "Mozilla",
"pdf", "pdf",

4
build/pdf.combined.js

@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.114'; PDFJS.version = '1.0.117';
PDFJS.build = '8e517b6'; PDFJS.build = '6a800eb';
(function pdfjsWrapper() { (function pdfjsWrapper() {
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it

4
build/pdf.js

@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.114'; PDFJS.version = '1.0.117';
PDFJS.build = '8e517b6'; PDFJS.build = '6a800eb';
(function pdfjsWrapper() { (function pdfjsWrapper() {
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it

4
build/pdf.worker.js vendored

@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.114'; PDFJS.version = '1.0.117';
PDFJS.build = '8e517b6'; PDFJS.build = '6a800eb';
(function pdfjsWrapper() { (function pdfjsWrapper() {
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.0.114", "version": "1.0.117",
"description": "Generic build of Mozilla's PDF.js library.", "description": "Generic build of Mozilla's PDF.js library.",
"keywords": [ "keywords": [
"Mozilla", "Mozilla",

7
web/compatibility.js

@ -547,6 +547,10 @@ if (typeof PDFJS === 'undefined') {
return; return;
} }
} catch (e) { } } catch (e) { }
// When the generic viewer is used in Firefox the following code will fail
// when the preference 'network.cookie.lifetimePolicy' is set to 1,
// see Mozilla bug 365772.
try {
window.localStorage = { window.localStorage = {
data: Object.create(null), data: Object.create(null),
getItem: function (key) { getItem: function (key) {
@ -556,4 +560,7 @@ if (typeof PDFJS === 'undefined') {
this.data[key] = value; this.data[key] = value;
} }
}; };
} catch (e) {
console.log('Unable to create polyfill for localStorage');
}
})(); })();

Loading…
Cancel
Save