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 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.0.505",
"version": "1.0.509",
"keywords": [
"Mozilla",
"pdf",

14
build/pdf.combined.js

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

14
build/pdf.js

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

5
build/pdf.worker.js vendored

@ -15,14 +15,15 @@ @@ -15,14 +15,15 @@
* limitations under the License.
*/
/*jshint globalstrict: false */
/* globals PDFJS */
// Initializing PDFJS global object (if still undefined)
if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.0.505';
PDFJS.build = '0e0ba4f';
PDFJS.version = '1.0.509';
PDFJS.build = '7026543';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it

2
package.json

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

Loading…
Cancel
Save