mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Updated to current latest stable version of jshint.
This commit is contained in:
parent
5c40d686d4
commit
2c82e720b8
10 changed files with 18 additions and 12 deletions
|
@ -1384,7 +1384,7 @@ var OperatorList = (function OperatorListClosure() {
|
|||
this.fnArray = [];
|
||||
}
|
||||
this.argsArray = [];
|
||||
this.dependencies = {},
|
||||
this.dependencies = {};
|
||||
this.pageIndex = pageIndex;
|
||||
this.fnIndex = 0;
|
||||
}
|
||||
|
@ -1471,11 +1471,11 @@ var TextState = (function TextStateClosure() {
|
|||
TextState.prototype = {
|
||||
initialiseTextObj: function TextState_initialiseTextObj() {
|
||||
var m = this.textMatrix;
|
||||
m[0] = 1, m[1] = 0, m[2] = 0, m[3] = 1, m[4] = 0, m[5] = 0;
|
||||
m[0] = 1; m[1] = 0; m[2] = 0; m[3] = 1; m[4] = 0; m[5] = 0;
|
||||
},
|
||||
setTextMatrix: function TextState_setTextMatrix(a, b, c, d, e, f) {
|
||||
var m = this.textMatrix;
|
||||
m[0] = a, m[1] = b, m[2] = c, m[3] = d, m[4] = e, m[5] = f;
|
||||
m[0] = a; m[1] = b; m[2] = c; m[3] = d; m[4] = e; m[5] = f;
|
||||
},
|
||||
translateTextMatrix: function TextState_translateTextMatrix(x, y) {
|
||||
var m = this.textMatrix;
|
||||
|
|
|
@ -1725,19 +1725,19 @@ var JpxImage = (function JpxImageClosure() {
|
|||
}
|
||||
}
|
||||
for (i = 0; i < hlHeight; i++) {
|
||||
k = i * hlWidth, l = i * 2 * width + 1;
|
||||
k = i * hlWidth; l = i * 2 * width + 1;
|
||||
for (j = 0; j < hlWidth; j++, k++, l += 2) {
|
||||
items[l] = hlItems[k];
|
||||
}
|
||||
}
|
||||
for (i = 0; i < lhHeight; i++) {
|
||||
k = i * lhWidth, l = (i * 2 + 1) * width;
|
||||
k = i * lhWidth; l = (i * 2 + 1) * width;
|
||||
for (j = 0; j < lhWidth; j++, k++, l += 2) {
|
||||
items[l] = lhItems[k];
|
||||
}
|
||||
}
|
||||
for (i = 0; i < hhHeight; i++) {
|
||||
k = i * hhWidth, l = (i * 2 + 1) * width + 1;
|
||||
k = i * hhWidth; l = (i * 2 + 1) * width + 1;
|
||||
for (j = 0; j < hhWidth; j++, k++, l += 2) {
|
||||
items[l] = hhItems[k];
|
||||
}
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/*jshint globalstrict: false */
|
||||
|
||||
// Initializing PDFJS global object (if still undefined)
|
||||
if (typeof PDFJS === 'undefined') {
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var CFFEncodingMap = {
|
||||
'0': '-reserved-',
|
||||
'1': 'hstem',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue