Browse Source

PDF.js version 1.0.509

master v1.0.509
Yury Delendik 11 years ago
parent
commit
f7fd871423
  1. 2
      bower.json
  2. 14
      build/pdf.combined.js
  3. 14
      build/pdf.js
  4. 5
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

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

14
build/pdf.combined.js

@ -15,14 +15,15 @@
* limitations under the License. * limitations under the License.
*/ */
/*jshint globalstrict: false */ /*jshint globalstrict: false */
/* globals PDFJS */
// Initializing PDFJS global object (if still undefined) // Initializing PDFJS global object (if still undefined)
if (typeof PDFJS === 'undefined') { if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.505'; PDFJS.version = '1.0.509';
PDFJS.build = '0e0ba4f'; PDFJS.build = '7026543';
(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
@ -6305,7 +6306,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() {
return element; return element;
} }
function getHtmlElementForTextAnnotation(item, commonObjs) { function getHtmlElementForTextAnnotation(item) {
var rect = item.rect; var rect = item.rect;
// sanity check because of OOo-generated PDFs // sanity check because of OOo-generated PDFs
@ -6422,8 +6423,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() {
return container; return container;
} }
function getHtmlElementForLinkAnnotation(item, commonObjs) { function getHtmlElementForLinkAnnotation(item) {
var container = initContainer(item); var container = initContainer(item);
container.className = 'annotLink'; container.className = 'annotLink';
@ -6443,9 +6443,9 @@ var AnnotationUtils = (function AnnotationUtilsClosure() {
case AnnotationType.WIDGET: case AnnotationType.WIDGET:
return getHtmlElementForTextWidgetAnnotation(data, objs); return getHtmlElementForTextWidgetAnnotation(data, objs);
case AnnotationType.TEXT: case AnnotationType.TEXT:
return getHtmlElementForTextAnnotation(data, objs); return getHtmlElementForTextAnnotation(data);
case AnnotationType.LINK: case AnnotationType.LINK:
return getHtmlElementForLinkAnnotation(data, objs); return getHtmlElementForLinkAnnotation(data);
default: default:
throw new Error('Unsupported annotationType: ' + data.annotationType); throw new Error('Unsupported annotationType: ' + data.annotationType);
} }

14
build/pdf.js

@ -15,14 +15,15 @@
* limitations under the License. * limitations under the License.
*/ */
/*jshint globalstrict: false */ /*jshint globalstrict: false */
/* globals PDFJS */
// Initializing PDFJS global object (if still undefined) // Initializing PDFJS global object (if still undefined)
if (typeof PDFJS === 'undefined') { if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.505'; PDFJS.version = '1.0.509';
PDFJS.build = '0e0ba4f'; PDFJS.build = '7026543';
(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
@ -6349,7 +6350,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() {
return element; return element;
} }
function getHtmlElementForTextAnnotation(item, commonObjs) { function getHtmlElementForTextAnnotation(item) {
var rect = item.rect; var rect = item.rect;
// sanity check because of OOo-generated PDFs // sanity check because of OOo-generated PDFs
@ -6466,8 +6467,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() {
return container; return container;
} }
function getHtmlElementForLinkAnnotation(item, commonObjs) { function getHtmlElementForLinkAnnotation(item) {
var container = initContainer(item); var container = initContainer(item);
container.className = 'annotLink'; container.className = 'annotLink';
@ -6487,9 +6487,9 @@ var AnnotationUtils = (function AnnotationUtilsClosure() {
case AnnotationType.WIDGET: case AnnotationType.WIDGET:
return getHtmlElementForTextWidgetAnnotation(data, objs); return getHtmlElementForTextWidgetAnnotation(data, objs);
case AnnotationType.TEXT: case AnnotationType.TEXT:
return getHtmlElementForTextAnnotation(data, objs); return getHtmlElementForTextAnnotation(data);
case AnnotationType.LINK: case AnnotationType.LINK:
return getHtmlElementForLinkAnnotation(data, objs); return getHtmlElementForLinkAnnotation(data);
default: default:
throw new Error('Unsupported annotationType: ' + data.annotationType); throw new Error('Unsupported annotationType: ' + data.annotationType);
} }

5
build/pdf.worker.js vendored

@ -15,14 +15,15 @@
* limitations under the License. * limitations under the License.
*/ */
/*jshint globalstrict: false */ /*jshint globalstrict: false */
/* globals PDFJS */
// Initializing PDFJS global object (if still undefined) // Initializing PDFJS global object (if still undefined)
if (typeof PDFJS === 'undefined') { if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.505'; PDFJS.version = '1.0.509';
PDFJS.build = '0e0ba4f'; PDFJS.build = '7026543';
(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.505", "version": "1.0.509",
"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