1
0
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:
Richard van der Hoff
2016-04-07 14:30:35 +01:00
parent 7573171d05
commit a493a0ddb3
2 changed files with 3 additions and 3 deletions

View File

@@ -186,8 +186,8 @@ TimelineWindow.prototype.canPaginate = function(direction) {
* even if there are fewer than 'size' of them, as we will just return those
* we already know about.)
*
* @param {number} [requestLimit=5] limit for the number of API requests we should
* make.
* @param {number} [requestLimit = 5] limit for the number of API requests we
* should make.
*
* @return {module:client.Promise} Resolves to a boolean which is true if more events
* were successfully retrieved.

View File

@@ -431,7 +431,7 @@ describe("TimelineWindow", function() {
expect(timeline0).toBe(timeline);
expect(opts.backwards).toBe(false);
expect(opts.limit).toEqual(2);
paginateCount += 1
paginateCount += 1;
return q(true);
};