Browse Source

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

Pdf Bot 9 năm trước cách đây
mục cha
commit
baf5cba6cc
6 tập tin đã thay đổi với 24 bổ sung24 xóa
  1. 1 1
      bower.json
  2. 3 3
      build/pdf.combined.js
  3. 3 3
      build/pdf.js
  4. 2 2
      build/pdf.worker.js
  5. 1 1
      package.json
  6. 14 14
      web/pdf_viewer.css

+ 1 - 1
bower.json

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

+ 3 - 3
build/pdf.combined.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
    typeof global !== 'undefined' ? global : this).PDFJS = {};
 }
 
-PDFJS.version = '1.3.127';
-PDFJS.build = 'ad4354c';
+PDFJS.version = '1.3.129';
+PDFJS.build = 'f17d672';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -1991,7 +1991,7 @@ var LinkAnnotationElement = (function LinkAnnotationElementClosure() {
      * @returns {HTMLSectionElement}
      */
     render: function LinkAnnotationElement_render() {
-      this.container.className = 'annotLink';
+      this.container.className = 'linkAnnotation';
 
       var link = document.createElement('a');
       link.href = link.title = this.data.url || '';

+ 3 - 3
build/pdf.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
    typeof global !== 'undefined' ? global : this).PDFJS = {};
 }
 
-PDFJS.version = '1.3.127';
-PDFJS.build = 'ad4354c';
+PDFJS.version = '1.3.129';
+PDFJS.build = 'f17d672';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -1991,7 +1991,7 @@ var LinkAnnotationElement = (function LinkAnnotationElementClosure() {
      * @returns {HTMLSectionElement}
      */
     render: function LinkAnnotationElement_render() {
-      this.container.className = 'annotLink';
+      this.container.className = 'linkAnnotation';
 
       var link = document.createElement('a');
       link.href = link.title = this.data.url || '';

+ 2 - 2
build/pdf.worker.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
    typeof global !== 'undefined' ? global : this).PDFJS = {};
 }
 
-PDFJS.version = '1.3.127';
-PDFJS.build = 'ad4354c';
+PDFJS.version = '1.3.129';
+PDFJS.build = 'f17d672';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.3.127",
+  "version": "1.3.129",
   "main": "build/pdf.js",
   "description": "Generic build of Mozilla's PDF.js library.",
   "keywords": [

+ 14 - 14
web/pdf_viewer.css

@@ -86,7 +86,20 @@
   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;
   background: #ff0;
   box-shadow: 0px 2px 10px #ff0;
@@ -125,19 +138,6 @@
   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 {
   overflow: hidden;
 }