Bug 1330006 - Fix various space related eslint errors. r=till

This commit is contained in:
Tom Schuster 2017-02-05 13:10:16 +01:00
parent e0ca7bce95
commit 4562413d8c
4 changed files with 8 additions and 8 deletions

View File

@ -82,7 +82,7 @@ function LegacyGeneratorNext(val) {
try {
return resumeGenerator(this, val, "next");
} catch(e) {
} catch (e) {
if (!LegacyGeneratorObjectIsClosed(this))
GeneratorSetClosed(this);
throw e;
@ -102,7 +102,7 @@ function LegacyGeneratorThrow(val) {
try {
return resumeGenerator(this, val, "throw");
} catch(e) {
} catch (e) {
if (!LegacyGeneratorObjectIsClosed(this))
GeneratorSetClosed(this);
throw e;

View File

@ -82,6 +82,6 @@ function Global_isNaN(number) {
return Number_isNaN(ToNumber(number));
}
function Global_isFinite(number){
function Global_isFinite(number) {
return Number_isFinite(ToNumber(number));
}

View File

@ -12,11 +12,11 @@ function CountingSort(array, len, signed) {
var min = 0;
// Map int8 values onto the uint8 range when storing in buffer.
if (signed) {
if (signed) {
min = -128;
}
for (var i = 0; i < 256; i++) {
for (var i = 0; i < 256; i++) {
buffer[i] = 0;
}
@ -45,7 +45,7 @@ function CountingSort(array, len, signed) {
// Helper for RadixSort
function ByteAtCol(x, pos) {
return (x >> (pos * 8)) & 0xFF;
return (x >> (pos * 8)) & 0xFF;
}
function SortByColumn(array, len, aux, col) {
@ -314,7 +314,7 @@ function Partition(array, from, to, comparefn) {
var pivotIndex = i;
// Hoare partition method.
for(;;) {
for (;;) {
do i++; while (comparefn(array[i], array[pivotIndex]) < 0);
do j--; while (comparefn(array[j], array[pivotIndex]) > 0);
if (i > j)

View File

@ -967,7 +967,7 @@ function TypeOfTypedObject(obj) {
// TypedObject surface API methods (sequential implementations).
// Warning: user exposed!
function TypedObjectArrayTypeBuild(a,b,c) {
function TypedObjectArrayTypeBuild(a, b, c) {
// Arguments : [depth], func
if (!IsObject(this) || !ObjectIsTypeDescr(this))