1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-09 10:22:46 +03:00
This commit is contained in:
Kegan Dougal
2015-12-08 16:10:52 +00:00
parent c65f32f6a6
commit ac3aa5538f
2 changed files with 3 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ Filter.prototype.getDefinition = function() {
/** /**
* Set the JSON body of the filter * Set the JSON body of the filter
* @param {Object} body The filter definition * @param {Object} definition The filter definition
*/ */
Filter.prototype.setDefinition = function(definition) { Filter.prototype.setDefinition = function(definition) {
this.definition = definition; this.definition = definition;

View File

@@ -60,7 +60,8 @@ describe("MatrixClient", function() {
httpBackend.verifyNoOutstandingRequests(); 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 = { var httpFilterDefinition = {
event_format: "federation" event_format: "federation"
}; };