1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Merge pull request #5693 from collinanderson/whitespace

cleaned whitespace
This commit is contained in:
Jonas Jenwald 2015-02-28 10:09:21 +01:00
commit 00ee6bd6b6
89 changed files with 56 additions and 126 deletions

View file

@ -19,9 +19,9 @@
/* This class implements the QM Coder decoding as defined in
* JPEG 2000 Part I Final Committee Draft Version 1.0
* Annex C.3 Arithmetic decoding procedure
* Annex C.3 Arithmetic decoding procedure
* available at http://www.jpeg.org/public/fcd15444-1.pdf
*
*
* The arithmetic decoder is used in conjunction with context models to decode
* JPEG2000 and JBIG2 streams.
*/

View file

@ -424,4 +424,3 @@ var bidi = PDFJS.bidi = (function bidiClosure() {
return bidi;
})();

View file

@ -116,4 +116,3 @@ var ExpertSubsetCharset = [
'eightinferior', 'nineinferior', 'centinferior', 'dollarinferior',
'periodinferior', 'commainferior'
];

View file

@ -560,4 +560,3 @@ var ChunkedStreamManager = (function ChunkedStreamManagerClosure() {
return ChunkedStreamManager;
})();

View file

@ -530,4 +530,3 @@ var PDFDocument = (function PDFDocumentClosure() {
return PDFDocument;
})();

View file

@ -710,4 +710,3 @@ var FontRendererFactory = (function FontRendererFactoryClosure() {
}
};
})();

View file

@ -2213,4 +2213,3 @@ var JpxImage = (function JpxImageClosure() {
return JpxImage;
})();

View file

@ -2958,4 +2958,3 @@ var Metrics = {
'a191': 918
}
};

View file

@ -274,4 +274,3 @@ var NetworkManager = (function NetworkManagerClosure() {
return NetworkManager;
})();

View file

@ -555,7 +555,7 @@ var Catalog = (function CatalogClosure() {
var isPrintAction = (isName(objType) && objType.name === 'Action' &&
isName(actionType) && actionType.name === 'Named' &&
isName(action) && action.name === 'Print');
if (isPrintAction) {
javaScript.push('print(true);');
}
@ -1411,7 +1411,7 @@ var NameTree = (function NameTreeClosure() {
warn('Search depth limit for named destionations has been reached.');
return null;
}
var kids = kidsOrNames.get('Kids');
if (!isArray(kids)) {
return null;
@ -1466,10 +1466,10 @@ var NameTree = (function NameTreeClosure() {
})();
/**
* "A PDF file can refer to the contents of another file by using a File
* "A PDF file can refer to the contents of another file by using a File
* Specification (PDF 1.1)", see the spec (7.11) for more details.
* NOTE: Only embedded files are supported (as part of the attachments support)
* TODO: support the 'URL' file system (with caching if !/V), portable
* TODO: support the 'URL' file system (with caching if !/V), portable
* collections attributes and related files (/RF)
*/
var FileSpec = (function FileSpecClosure() {

View file

@ -222,4 +222,3 @@ var NetworkPdfManager = (function NetworkPdfManagerClosure() {
return NetworkPdfManager;
})();

View file

@ -153,7 +153,7 @@ PDFJS.verbosity = (PDFJS.verbosity === undefined ?
PDFJS.VERBOSITY_LEVELS.warnings : PDFJS.verbosity);
/**
* The maximum supported canvas size in total pixels e.g. width * height.
* The maximum supported canvas size in total pixels e.g. width * height.
* The default value is 4096 * 4096. Use -1 for no limit.
* @var {number}
*/
@ -608,7 +608,7 @@ var PDFDocumentProxy = (function PDFDocumentProxyClosure() {
* rendering call the function that is the first argument
* to the callback.
*/
/**
* PDF page operator list.
*

View file

@ -2149,4 +2149,3 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
return CanvasGraphics;
})();

View file

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* globals PDFJS, shadow, isWorker, assert, warn, bytesToString, string32,
/* globals PDFJS, shadow, isWorker, assert, warn, bytesToString, string32,
globalScope, FontFace, Promise */
'use strict';

View file

@ -252,7 +252,7 @@ var SVGExtraState = (function SVGExtraStateClosure() {
this.lineJoin = '';
this.lineCap = '';
this.miterLimit = 0;
this.dashArray = [];
this.dashPhase = 0;
@ -479,7 +479,7 @@ var SVGGraphics = (function SVGGraphicsClosure() {
}
return opListToTree(opList);
},
executeOpTree: function SVGGraphics_executeOpTree(opTree) {
var opTreeLen = opTree.length;
for(var x = 0; x < opTreeLen; x++) {

View file

@ -311,4 +311,3 @@ var CFFDictPrivateDataMap = {
operand: 0
}
};

View file

@ -431,4 +431,3 @@ function writeToFile(aBytes, aFilePath) {
bos.writeByteArray(aBytes, aBytes.length);
stream.close();
}