diff --git a/lib/filter.js b/lib/filter.js index bb104d5e4..93a278a11 100644 --- a/lib/filter.js +++ b/lib/filter.js @@ -44,7 +44,7 @@ Filter.prototype.getDefinition = function() { /** * Set the JSON body of the filter - * @param {Object} body The filter definition + * @param {Object} definition The filter definition */ Filter.prototype.setDefinition = function(definition) { this.definition = definition; diff --git a/spec/integ/matrix-client-methods.spec.js b/spec/integ/matrix-client-methods.spec.js index d8b51fc4f..945591c7c 100644 --- a/spec/integ/matrix-client-methods.spec.js +++ b/spec/integ/matrix-client-methods.spec.js @@ -60,7 +60,8 @@ describe("MatrixClient", function() { httpBackend.verifyNoOutstandingRequests(); }); - it("should do an HTTP request if !allowCached even if one exists", function(done) { + it("should do an HTTP request if !allowCached even if one exists", + function(done) { var httpFilterDefinition = { event_format: "federation" };