1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

Merge branch 'develop' into kegan/indexeddb

This commit is contained in:
Kegan Dougal
2017-01-26 14:29:30 +00:00
66 changed files with 2559 additions and 2190 deletions

View File

@@ -96,7 +96,7 @@ module.exports.getRequest = function() {
* @param {requestWrapperFunction} wrapper The wrapping function.
*/
module.exports.wrapRequest = function(wrapper) {
let origRequest = request;
const origRequest = request;
request = function(options, callback) {
return wrapper(origRequest, options, callback);
};