Skip to content
This repository has been archived by the owner on Jul 14, 2024. It is now read-only.

Commit

Permalink
PDF.js version 2.0.485 - See mozilla/pdf.js@1a634f9
Browse files Browse the repository at this point in the history
  • Loading branch information
pdfjsbot committed Apr 8, 2018
1 parent bf76e76 commit 423d7d4
Show file tree
Hide file tree
Showing 16 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "2.0.480",
"version": "2.0.485",
"main": [
"build/pdf.js",
"build/pdf.worker.js"
Expand Down
10 changes: 5 additions & 5 deletions build/pdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -3003,8 +3003,8 @@ exports.GlobalWorkerOptions = GlobalWorkerOptions;
"use strict";


var pdfjsVersion = '2.0.480';
var pdfjsBuild = 'a7a034d8';
var pdfjsVersion = '2.0.485';
var pdfjsBuild = '1a634f9c';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayAPI = __w_pdfjs_require__(117);
var pdfjsDisplayTextLayer = __w_pdfjs_require__(125);
Expand Down Expand Up @@ -8437,7 +8437,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
}
return worker.messageHandler.sendWithPromise('GetDocRequest', {
docId: docId,
apiVersion: '2.0.480',
apiVersion: '2.0.485',
source: {
data: source.data,
url: source.url,
Expand Down Expand Up @@ -9855,8 +9855,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.480';
exports.build = build = 'a7a034d8';
exports.version = version = '2.0.485';
exports.build = build = '1a634f9c';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
Expand Down
2 changes: 1 addition & 1 deletion build/pdf.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/pdf.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions build/pdf.worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -22360,8 +22360,8 @@ exports.PostScriptCompiler = PostScriptCompiler;
"use strict";


var pdfjsVersion = '2.0.480';
var pdfjsBuild = 'a7a034d8';
var pdfjsVersion = '2.0.485';
var pdfjsBuild = '1a634f9c';
var pdfjsCoreWorker = __w_pdfjs_require__(74);
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;

Expand Down Expand Up @@ -22574,7 +22574,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '2.0.480';
var workerVersion = '2.0.485';
if (apiVersion !== null && apiVersion !== workerVersion) {
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + workerVersion + '".'));
}
Expand Down
2 changes: 1 addition & 1 deletion build/pdf.worker.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/pdf.worker.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/core/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null;
var WorkerTasks = [];
var apiVersion = docParams.apiVersion;
var workerVersion = '2.0.480';
var workerVersion = '2.0.485';
if (apiVersion !== null && apiVersion !== workerVersion) {
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + workerVersion + '".'));
}
Expand Down
6 changes: 3 additions & 3 deletions lib/display/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
}
return worker.messageHandler.sendWithPromise('GetDocRequest', {
docId: docId,
apiVersion: '2.0.480',
apiVersion: '2.0.485',
source: {
data: source.data,
url: source.url,
Expand Down Expand Up @@ -1650,8 +1650,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
var version, build;
{
exports.version = version = '2.0.480';
exports.build = build = 'a7a034d8';
exports.version = version = '2.0.485';
exports.build = build = '1a634f9c';
}
exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort;
Expand Down
4 changes: 2 additions & 2 deletions lib/pdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
*/
'use strict';

var pdfjsVersion = '2.0.480';
var pdfjsBuild = 'a7a034d8';
var pdfjsVersion = '2.0.485';
var pdfjsBuild = '1a634f9c';
var pdfjsSharedUtil = require('./shared/util.js');
var pdfjsDisplayAPI = require('./display/api.js');
var pdfjsDisplayTextLayer = require('./display/text_layer.js');
Expand Down
4 changes: 2 additions & 2 deletions lib/pdf.worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/
'use strict';

var pdfjsVersion = '2.0.480';
var pdfjsBuild = 'a7a034d8';
var pdfjsVersion = '2.0.485';
var pdfjsBuild = '1a634f9c';
var pdfjsCoreWorker = require('./core/worker.js');
exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;
4 changes: 2 additions & 2 deletions lib/web/pdf_viewer.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ var _pdf_single_page_viewer = require('./pdf_single_page_viewer');

var _pdf_viewer = require('./pdf_viewer.js');

var pdfjsVersion = '2.0.480';
var pdfjsBuild = 'a7a034d8';
var pdfjsVersion = '2.0.485';
var pdfjsBuild = '1a634f9c';
exports.PDFViewer = _pdf_viewer.PDFViewer;
exports.PDFSinglePageViewer = _pdf_single_page_viewer.PDFSinglePageViewer;
exports.PDFPageView = _pdf_page_view.PDFPageView;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "2.0.480",
"version": "2.0.485",
"main": "build/pdf.js",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [
Expand Down
36 changes: 18 additions & 18 deletions web/pdf_viewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@
white-space: pre;
cursor: text;
-webkit-transform-origin: 0% 0%;
-moz-transform-origin: 0% 0%;
-o-transform-origin: 0% 0%;
-ms-transform-origin: 0% 0%;
transform-origin: 0% 0%;
transform-origin: 0% 0%;
}

.textLayer .highlight {
Expand All @@ -60,9 +57,10 @@
background-color: rgb(0, 100, 0);
}

.textLayer ::selection { background: rgb(0,0,255); }
.textLayer ::-moz-selection { background: rgb(0,0,255); }

.textLayer ::selection { background: rgb(0,0,255); }

.textLayer .endOfContent {
display: block;
position: absolute;
Expand All @@ -73,8 +71,9 @@
z-index: -1;
cursor: default;
-webkit-user-select: none;
-ms-user-select: none;
-moz-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

.textLayer .endOfContent.active {
Expand Down Expand Up @@ -180,11 +179,13 @@
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before {
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}

.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
Expand Down Expand Up @@ -214,9 +215,8 @@
.annotationLayer .buttonWidgetAnnotation.checkBox input,
.annotationLayer .buttonWidgetAnnotation.radioButton input {
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
appearance: none;
-moz-appearance: none;
appearance: none;
padding: 0;
}

Expand Down Expand Up @@ -278,7 +278,8 @@
overflow: visible;
border: 9px solid transparent;
background-clip: content-box;
border-image: url(images/shadow.png) 9 9 repeat;
-o-border-image: url(images/shadow.png) 9 9 repeat;
border-image: url(images/shadow.png) 9 9 repeat;
background-color: white;
}

Expand Down Expand Up @@ -315,6 +316,10 @@
background: url('images/loading-icon.gif') center no-repeat;
}

.pdfPresentationMode:-ms-fullscreen .pdfViewer .page {
margin-bottom: 100% !important;
}

.pdfPresentationMode:-webkit-full-screen .pdfViewer .page {
margin-bottom: 100%;
border: 0;
Expand All @@ -325,11 +330,6 @@
border: 0;
}

.pdfPresentationMode:-ms-fullscreen .pdfViewer .page {
margin-bottom: 100% !important;
border: 0;
}

.pdfPresentationMode:fullscreen .pdfViewer .page {
margin-bottom: 100%;
border: 0;
Expand Down
4 changes: 2 additions & 2 deletions web/pdf_viewer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web/pdf_viewer.js.map

Large diffs are not rendered by default.

0 comments on commit 423d7d4

Please sign in to comment.