Browse Source

PDF.js version 1.3.129 - See mozilla/pdf.js@f17d6721e71d30e5face06d35b7467475cbbe911

master v1.3.129
Pdf Bot 9 years ago
parent
commit
baf5cba6cc
  1. 2
      bower.json
  2. 6
      build/pdf.combined.js
  3. 6
      build/pdf.js
  4. 4
      build/pdf.worker.js
  5. 2
      package.json
  6. 28
      web/pdf_viewer.css

2
bower.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.3.127", "version": "1.3.129",
"main": [ "main": [
"build/pdf.js", "build/pdf.js",
"build/pdf.worker.js" "build/pdf.worker.js"

6
build/pdf.combined.js

@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
typeof global !== 'undefined' ? global : this).PDFJS = {}; typeof global !== 'undefined' ? global : this).PDFJS = {};
} }
PDFJS.version = '1.3.127'; PDFJS.version = '1.3.129';
PDFJS.build = 'ad4354c'; PDFJS.build = 'f17d672';
(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
@ -1991,7 +1991,7 @@ var LinkAnnotationElement = (function LinkAnnotationElementClosure() {
* @returns {HTMLSectionElement} * @returns {HTMLSectionElement}
*/ */
render: function LinkAnnotationElement_render() { render: function LinkAnnotationElement_render() {
this.container.className = 'annotLink'; this.container.className = 'linkAnnotation';
var link = document.createElement('a'); var link = document.createElement('a');
link.href = link.title = this.data.url || ''; link.href = link.title = this.data.url || '';

6
build/pdf.js

@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
typeof global !== 'undefined' ? global : this).PDFJS = {}; typeof global !== 'undefined' ? global : this).PDFJS = {};
} }
PDFJS.version = '1.3.127'; PDFJS.version = '1.3.129';
PDFJS.build = 'ad4354c'; PDFJS.build = 'f17d672';
(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
@ -1991,7 +1991,7 @@ var LinkAnnotationElement = (function LinkAnnotationElementClosure() {
* @returns {HTMLSectionElement} * @returns {HTMLSectionElement}
*/ */
render: function LinkAnnotationElement_render() { render: function LinkAnnotationElement_render() {
this.container.className = 'annotLink'; this.container.className = 'linkAnnotation';
var link = document.createElement('a'); var link = document.createElement('a');
link.href = link.title = this.data.url || ''; link.href = link.title = this.data.url || '';

4
build/pdf.worker.js vendored

@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
typeof global !== 'undefined' ? global : this).PDFJS = {}; typeof global !== 'undefined' ? global : this).PDFJS = {};
} }
PDFJS.version = '1.3.127'; PDFJS.version = '1.3.129';
PDFJS.build = 'ad4354c'; PDFJS.build = 'f17d672';
(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.3.127", "version": "1.3.129",
"main": "build/pdf.js", "main": "build/pdf.js",
"description": "Generic build of Mozilla's PDF.js library.", "description": "Generic build of Mozilla's PDF.js library.",
"keywords": [ "keywords": [

28
web/pdf_viewer.css

@ -86,7 +86,20 @@
position: absolute; position: absolute;
} }
.annotationLayer .annotLink > a:hover { .annotationLayer .linkAnnotation > a {
position: absolute;
font-size: 1em;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.annotationLayer .linkAnnotation > a /* -ms-a */ {
background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7") 0 0 repeat;
}
.annotationLayer .linkAnnotation > a:hover {
opacity: 0.2; opacity: 0.2;
background: #ff0; background: #ff0;
box-shadow: 0px 2px 10px #ff0; box-shadow: 0px 2px 10px #ff0;
@ -125,19 +138,6 @@
padding-top: 0.2em; padding-top: 0.2em;
} }
.annotationLayer .annotLink > a {
position: absolute;
font-size: 1em;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.annotationLayer .annotLink > a /* -ms-a */ {
background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7") 0 0 repeat;
}
.pdfViewer .canvasWrapper { .pdfViewer .canvasWrapper {
overflow: hidden; overflow: hidden;
} }

Loading…
Cancel
Save