forked from mystiq/hydrogen-web
Jsdoc fix
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
da715c70b0
commit
aee135a6cd
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class ItemRange {
|
||||||
* Check if this range intersects with another range
|
* Check if this range intersects with another range
|
||||||
* @param {ItemRange} range The range to check against
|
* @param {ItemRange} range The range to check against
|
||||||
* @param {ScrollDirection} scrollDirection
|
* @param {ScrollDirection} scrollDirection
|
||||||
* @returns {Boolean}
|
* @returns {boolean}
|
||||||
*/
|
*/
|
||||||
intersects(range) {
|
intersects(range) {
|
||||||
return !!Math.max(0, Math.min(this.lastIndex, range.lastIndex) - Math.max(this.topCount, range.topCount));
|
return !!Math.max(0, Math.min(this.lastIndex, range.lastIndex) - Math.max(this.topCount, range.topCount));
|
||||||
|
|
Loading…
Reference in a new issue