Closed dulmandakh closed 8 years ago
wrapError method of backbone differs between version 0.9.2 and 1.1.2, so this change will make restapi.js works on both versions smoothly.
More details: wrapError of Backbone 0.9.2 accepts model and response as parameters, but 1.1.2 accepts only response.
Cheers. Good catch! :+1:
wrapError method of backbone differs between version 0.9.2 and 1.1.2, so this change will make restapi.js works on both versions smoothly.
More details: wrapError of Backbone 0.9.2 accepts model and response as parameters, but 1.1.2 accepts only response.