Browse Source

PDF.js version 1.1.311

master v1.1.311
Pdf Bot 10 years ago
parent
commit
22e7c90a57
  1. 2
      bower.json
  2. 11
      build/pdf.combined.js
  3. 10
      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.1.309",
"version": "1.1.311",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

11
build/pdf.combined.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.1.309';
PDFJS.build = '4b6e272';
PDFJS.version = '1.1.311';
PDFJS.build = '7065c1b';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -6602,7 +6602,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() { @@ -6602,7 +6602,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() {
style.fontFamily = fontFamily + fallbackName;
}
function initContainer(item, drawBorder) {
function initContainer(item) {
var container = document.createElement('section');
var cstyle = container.style;
var width = item.rect[2] - item.rect[0];
@ -6706,7 +6706,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() { @@ -6706,7 +6706,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() {
rect[2] = rect[0] + (rect[3] - rect[1]); // make it square
}
var container = initContainer(item, false);
var container = initContainer(item);
container.className = 'annotText';
var image = document.createElement('img');
@ -6813,7 +6813,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() { @@ -6813,7 +6813,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() {
}
function getHtmlElementForLinkAnnotation(item) {
var container = initContainer(item, true);
var container = initContainer(item);
container.className = 'annotLink';
var link = document.createElement('a');
@ -11466,7 +11466,6 @@ var Annotation = (function AnnotationClosure() { @@ -11466,7 +11466,6 @@ var Annotation = (function AnnotationClosure() {
this.borderStyle.setHorizontalCornerRadius(array[0]);
this.borderStyle.setVerticalCornerRadius(array[1]);
this.borderStyle.setWidth(array[2]);
this.borderStyle.setStyle('S');
if (array.length === 4) { // Dash array available
this.borderStyle.setDashArray(array[3]);

10
build/pdf.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.1.309';
PDFJS.build = '4b6e272';
PDFJS.version = '1.1.311';
PDFJS.build = '7065c1b';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -6646,7 +6646,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() { @@ -6646,7 +6646,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() {
style.fontFamily = fontFamily + fallbackName;
}
function initContainer(item, drawBorder) {
function initContainer(item) {
var container = document.createElement('section');
var cstyle = container.style;
var width = item.rect[2] - item.rect[0];
@ -6750,7 +6750,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() { @@ -6750,7 +6750,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() {
rect[2] = rect[0] + (rect[3] - rect[1]); // make it square
}
var container = initContainer(item, false);
var container = initContainer(item);
container.className = 'annotText';
var image = document.createElement('img');
@ -6857,7 +6857,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() { @@ -6857,7 +6857,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() {
}
function getHtmlElementForLinkAnnotation(item) {
var container = initContainer(item, true);
var container = initContainer(item);
container.className = 'annotLink';
var link = document.createElement('a');

5
build/pdf.worker.js vendored

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.1.309';
PDFJS.build = '4b6e272';
PDFJS.version = '1.1.311';
PDFJS.build = '7065c1b';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -5062,7 +5062,6 @@ var Annotation = (function AnnotationClosure() { @@ -5062,7 +5062,6 @@ var Annotation = (function AnnotationClosure() {
this.borderStyle.setHorizontalCornerRadius(array[0]);
this.borderStyle.setVerticalCornerRadius(array[1]);
this.borderStyle.setWidth(array[2]);
this.borderStyle.setStyle('S');
if (array.length === 4) { // Dash array available
this.borderStyle.setDashArray(array[3]);

2
package.json

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

Loading…
Cancel
Save