format: prettify entire project
This commit is contained in:
19
node_modules/source-map-js/lib/mapping-list.js
generated
vendored
19
node_modules/source-map-js/lib/mapping-list.js
generated
vendored
@ -17,8 +17,11 @@ function generatedPositionAfter(mappingA, mappingB) {
|
||||
var lineB = mappingB.generatedLine;
|
||||
var columnA = mappingA.generatedColumn;
|
||||
var columnB = mappingB.generatedColumn;
|
||||
return lineB > lineA || lineB == lineA && columnB >= columnA ||
|
||||
util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0;
|
||||
return (
|
||||
lineB > lineA ||
|
||||
(lineB == lineA && columnB >= columnA) ||
|
||||
util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -30,7 +33,7 @@ function MappingList() {
|
||||
this._array = [];
|
||||
this._sorted = true;
|
||||
// Serves as infimum
|
||||
this._last = {generatedLine: -1, generatedColumn: 0};
|
||||
this._last = { generatedLine: -1, generatedColumn: 0 };
|
||||
}
|
||||
|
||||
/**
|
||||
@ -39,10 +42,12 @@ function MappingList() {
|
||||
*
|
||||
* NOTE: The order of the mappings is NOT guaranteed.
|
||||
*/
|
||||
MappingList.prototype.unsortedForEach =
|
||||
function MappingList_forEach(aCallback, aThisArg) {
|
||||
this._array.forEach(aCallback, aThisArg);
|
||||
};
|
||||
MappingList.prototype.unsortedForEach = function MappingList_forEach(
|
||||
aCallback,
|
||||
aThisArg
|
||||
) {
|
||||
this._array.forEach(aCallback, aThisArg);
|
||||
};
|
||||
|
||||
/**
|
||||
* Add the given source mapping.
|
||||
|
Reference in New Issue
Block a user