fixed timeout

This commit is contained in:
Fabian Vogelsteller 2015-07-01 14:41:37 +02:00
parent 30cc07227e
commit 788337dd55
1 changed files with 2 additions and 2 deletions

View File

@ -99,8 +99,8 @@ Timeout all requests when the end/error event is fired
@method _timeout @method _timeout
*/ */
IpcProvider.prototype._timeout = function() { IpcProvider.prototype._timeout = function() {
for(key in this.responseCallbacks) { for(var key in this.responseCallbacks) {
if(this.responseCallback.hasOwnProperty(key)){ if(this.responseCallbacks.hasOwnProperty(key)){
this.responseCallbacks[key](errorTimeout.replace('__id__', key).replace('__method__', this.responseCallbacks[key].method)); this.responseCallbacks[key](errorTimeout.replace('__id__', key).replace('__method__', this.responseCallbacks[key].method));
} }
} }