Files
test-repo/tests/binary-expressions/short-right.js
T
Christopher Chedeau 5523c4f56b Inline short expressions for boolean operators too (#826)
In #605 I restricted it to binary operations as I didn't know how it would affect boolean operations but it turns out the same technique solves problems that people are reporting. So doesn't make sense to restrict it.

Fixes #824
2017-03-02 22:45:26 -05:00

20 lines
438 B
JavaScript

this._cumulativeHeights &&
Math.abs(
this._cachedItemHeight(this._firstVisibleIndex + i) -
this._provider.fastHeight(i + this._firstVisibleIndex),
) >
1
foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo(
aaaaaaaaaaaaaaaaaaa
) +
a;
const isPartOfPackageJSON = dependenciesArray.indexOf(
dependencyWithOutRelativePath.split('/')[0],
) !== -1;
defaultContent.filter(defaultLocale => {
// ...
})[0] || null;