Require spacing of objects outside of test files

This commit is contained in:
Daniel Imms
2021-04-02 07:08:06 -07:00
parent 759379dfb1
commit f19d7f0b70
8 changed files with 96 additions and 84 deletions
+2 -2
View File
@@ -158,7 +158,7 @@ export class CircularList<T> implements ICircularList<T> {
this._array[this._getCyclicIndex(i)] = this._array[this._getCyclicIndex(i + deleteCount)];
}
this._length -= deleteCount;
this.onDeleteEmitter.fire({index: start, amount: deleteCount});
this.onDeleteEmitter.fire({ index: start, amount: deleteCount });
}
// Add items
@@ -169,7 +169,7 @@ export class CircularList<T> implements ICircularList<T> {
this._array[this._getCyclicIndex(start + i)] = items[i];
}
if (items.length) {
this.onInsertEmitter.fire({index: start, amount: items.length});
this.onInsertEmitter.fire({ index: start, amount: items.length });
}
// Adjust length as needed