Browse Source

PDF.js version 1.0.336

master v1.0.336
Yury Delendik 10 years ago
parent
commit
0870ee1b87
  1. 2
      bower.json
  2. 13
      build/pdf.combined.js
  3. 13
      build/pdf.js
  4. 13
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

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

13
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.334'; PDFJS.version = '1.0.336';
PDFJS.build = '75859b8'; PDFJS.build = 'b37b338';
(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
@ -1724,7 +1724,7 @@ var Annotation = (function AnnotationClosure() {
data && data &&
(!data.annotationFlags || (!data.annotationFlags ||
!(data.annotationFlags & 0x22)) && // Hidden or NoView !(data.annotationFlags & 0x22)) && // Hidden or NoView
data.rect); // rectangle is nessessary data.rect); // rectangle is necessary
}, },
isPrintable: function Annotation_isPrintable() { isPrintable: function Annotation_isPrintable() {
@ -1733,7 +1733,8 @@ var Annotation = (function AnnotationClosure() {
data && data &&
data.annotationFlags && // Default: not printable data.annotationFlags && // Default: not printable
data.annotationFlags & 0x4 && // Print data.annotationFlags & 0x4 && // Print
data.rect); // rectangle is nessessary !(data.annotationFlags & 0x2) && // Hidden
data.rect); // rectangle is necessary
}, },
loadResources: function Annotation_loadResources(keys) { loadResources: function Annotation_loadResources(keys) {
@ -1858,7 +1859,9 @@ var Annotation = (function AnnotationClosure() {
if (annotation.isViewable() || annotation.isPrintable()) { if (annotation.isViewable() || annotation.isPrintable()) {
return annotation; return annotation;
} else { } else {
warn('unimplemented annotation type: ' + subtype); if (SUPPORTED_TYPES.indexOf(subtype) === -1) {
warn('unimplemented annotation type: ' + subtype);
}
} }
}; };

13
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.334'; PDFJS.version = '1.0.336';
PDFJS.build = '75859b8'; PDFJS.build = 'b37b338';
(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
@ -1724,7 +1724,7 @@ var Annotation = (function AnnotationClosure() {
data && data &&
(!data.annotationFlags || (!data.annotationFlags ||
!(data.annotationFlags & 0x22)) && // Hidden or NoView !(data.annotationFlags & 0x22)) && // Hidden or NoView
data.rect); // rectangle is nessessary data.rect); // rectangle is necessary
}, },
isPrintable: function Annotation_isPrintable() { isPrintable: function Annotation_isPrintable() {
@ -1733,7 +1733,8 @@ var Annotation = (function AnnotationClosure() {
data && data &&
data.annotationFlags && // Default: not printable data.annotationFlags && // Default: not printable
data.annotationFlags & 0x4 && // Print data.annotationFlags & 0x4 && // Print
data.rect); // rectangle is nessessary !(data.annotationFlags & 0x2) && // Hidden
data.rect); // rectangle is necessary
}, },
loadResources: function Annotation_loadResources(keys) { loadResources: function Annotation_loadResources(keys) {
@ -1858,7 +1859,9 @@ var Annotation = (function AnnotationClosure() {
if (annotation.isViewable() || annotation.isPrintable()) { if (annotation.isViewable() || annotation.isPrintable()) {
return annotation; return annotation;
} else { } else {
warn('unimplemented annotation type: ' + subtype); if (SUPPORTED_TYPES.indexOf(subtype) === -1) {
warn('unimplemented annotation type: ' + subtype);
}
} }
}; };

13
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.334'; PDFJS.version = '1.0.336';
PDFJS.build = '75859b8'; PDFJS.build = 'b37b338';
(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
@ -1724,7 +1724,7 @@ var Annotation = (function AnnotationClosure() {
data && data &&
(!data.annotationFlags || (!data.annotationFlags ||
!(data.annotationFlags & 0x22)) && // Hidden or NoView !(data.annotationFlags & 0x22)) && // Hidden or NoView
data.rect); // rectangle is nessessary data.rect); // rectangle is necessary
}, },
isPrintable: function Annotation_isPrintable() { isPrintable: function Annotation_isPrintable() {
@ -1733,7 +1733,8 @@ var Annotation = (function AnnotationClosure() {
data && data &&
data.annotationFlags && // Default: not printable data.annotationFlags && // Default: not printable
data.annotationFlags & 0x4 && // Print data.annotationFlags & 0x4 && // Print
data.rect); // rectangle is nessessary !(data.annotationFlags & 0x2) && // Hidden
data.rect); // rectangle is necessary
}, },
loadResources: function Annotation_loadResources(keys) { loadResources: function Annotation_loadResources(keys) {
@ -1858,7 +1859,9 @@ var Annotation = (function AnnotationClosure() {
if (annotation.isViewable() || annotation.isPrintable()) { if (annotation.isViewable() || annotation.isPrintable()) {
return annotation; return annotation;
} else { } else {
warn('unimplemented annotation type: ' + subtype); if (SUPPORTED_TYPES.indexOf(subtype) === -1) {
warn('unimplemented annotation type: ' + subtype);
}
} }
}; };

2
package.json

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

Loading…
Cancel
Save