Unverified Commit f301c4f0 authored by Joe Haddad's avatar Joe Haddad Committed by GitHub

Adjust onFinishCallback polyfill (#6984)

parent a5ad06f9
...@@ -435,7 +435,7 @@ FetchTransport.prototype.open = function (xhr, onStartCallback, onProgressCallba ...@@ -435,7 +435,7 @@ FetchTransport.prototype.open = function (xhr, onStartCallback, onProgressCallba
}).then(function(result) { }).then(function(result) {
onFinishCallback() onFinishCallback()
return result return result
})['catch'](function(error) { }, function(error) {
onFinishCallback() onFinishCallback()
return Promise.reject(error) return Promise.reject(error)
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment