You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-05 00:42:10 +03:00
Fix lint errors
This commit is contained in:
@@ -186,8 +186,8 @@ TimelineWindow.prototype.canPaginate = function(direction) {
|
|||||||
* even if there are fewer than 'size' of them, as we will just return those
|
* even if there are fewer than 'size' of them, as we will just return those
|
||||||
* we already know about.)
|
* we already know about.)
|
||||||
*
|
*
|
||||||
* @param {number} [requestLimit=5] limit for the number of API requests we should
|
* @param {number} [requestLimit = 5] limit for the number of API requests we
|
||||||
* make.
|
* should make.
|
||||||
*
|
*
|
||||||
* @return {module:client.Promise} Resolves to a boolean which is true if more events
|
* @return {module:client.Promise} Resolves to a boolean which is true if more events
|
||||||
* were successfully retrieved.
|
* were successfully retrieved.
|
||||||
|
@@ -431,7 +431,7 @@ describe("TimelineWindow", function() {
|
|||||||
expect(timeline0).toBe(timeline);
|
expect(timeline0).toBe(timeline);
|
||||||
expect(opts.backwards).toBe(false);
|
expect(opts.backwards).toBe(false);
|
||||||
expect(opts.limit).toEqual(2);
|
expect(opts.limit).toEqual(2);
|
||||||
paginateCount += 1
|
paginateCount += 1;
|
||||||
return q(true);
|
return q(true);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user