Fix jslint warnings.
This commit is contained in:
parent
09722d7d3c
commit
33af12abd0
@ -24,9 +24,9 @@ var CanvasExtraState = (function canvasExtraState() {
|
|||||||
this.wordSpacing = 0;
|
this.wordSpacing = 0;
|
||||||
this.textHScale = 1;
|
this.textHScale = 1;
|
||||||
// Color spaces
|
// Color spaces
|
||||||
this.fillColorSpace = new DeviceGrayCS;
|
this.fillColorSpace = new DeviceGrayCS();
|
||||||
this.fillColorSpaceObj = null;
|
this.fillColorSpaceObj = null;
|
||||||
this.strokeColorSpace = new DeviceGrayCS;
|
this.strokeColorSpace = new DeviceGrayCS();
|
||||||
this.strokeColorSpaceObj = null;
|
this.strokeColorSpaceObj = null;
|
||||||
this.fillColorObj = null;
|
this.fillColorObj = null;
|
||||||
this.strokeColorObj = null;
|
this.strokeColorObj = null;
|
||||||
|
@ -199,8 +199,8 @@ var Page = (function pagePage() {
|
|||||||
var pe = this.pe = new PartialEvaluator(
|
var pe = this.pe = new PartialEvaluator(
|
||||||
xref, handler, 'p' + this.pageNumber + '_');
|
xref, handler, 'p' + this.pageNumber + '_');
|
||||||
var IRQueue = {};
|
var IRQueue = {};
|
||||||
return this.IRQueue = pe.getIRQueue(
|
return (this.IRQueue = pe.getIRQueue(content, resources, IRQueue,
|
||||||
content, resources, IRQueue, dependency);
|
dependency));
|
||||||
},
|
},
|
||||||
|
|
||||||
ensureFonts: function pageEnsureFonts(fonts, callback) {
|
ensureFonts: function pageEnsureFonts(fonts, callback) {
|
||||||
@ -598,7 +598,7 @@ var PDFDoc = (function pdfDoc() {
|
|||||||
// to the CanvasGraphics and so on.
|
// to the CanvasGraphics and so on.
|
||||||
page.objs = this.objs;
|
page.objs = this.objs;
|
||||||
page.pdf = this;
|
page.pdf = this;
|
||||||
return this.pageCache[n] = page;
|
return (this.pageCache[n] = page);
|
||||||
},
|
},
|
||||||
|
|
||||||
destroy: function pdfDocDestroy() {
|
destroy: function pdfDocDestroy() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user