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. 25
      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",

25
web/compatibility.js

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

Loading…
Cancel
Save