[#340] jshint cleanup of backend.dataproxy.js
This commit is contained in:
parent
eca254b480
commit
6073c4837f
@ -42,8 +42,8 @@ this.recline.Backend.DataProxy = this.recline.Backend.DataProxy || {};
|
||||
useMemoryStore: true
|
||||
});
|
||||
})
|
||||
.fail(function(arguments) {
|
||||
dfd.reject(arguments);
|
||||
.fail(function(args) {
|
||||
dfd.reject(args);
|
||||
});
|
||||
return dfd.promise();
|
||||
};
|
||||
@ -60,16 +60,16 @@ this.recline.Backend.DataProxy = this.recline.Backend.DataProxy || {};
|
||||
message: 'Request Error: Backend did not respond after ' + (my.timeout / 1000) + ' seconds'
|
||||
});
|
||||
}, my.timeout);
|
||||
ourFunction.done(function(arguments) {
|
||||
ourFunction.done(function(args) {
|
||||
clearTimeout(timer);
|
||||
dfd.resolve(arguments);
|
||||
dfd.resolve(args);
|
||||
})
|
||||
.fail(function(arguments) {
|
||||
.fail(function(args) {
|
||||
clearTimeout(timer);
|
||||
dfd.reject(arguments);
|
||||
dfd.reject(args);
|
||||
})
|
||||
;
|
||||
return dfd.promise();
|
||||
}
|
||||
};
|
||||
|
||||
}(this.recline.Backend.DataProxy));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user