apache/incubator-cordova-js — pull request #38 by mbillau (2012-10-24 16:56:47+00:00)
Title: add in missing errorCallback parameter in FileTransfer.download

FileTransfer.download method defines a fail function that uses the given errorCallback. However in download() it looks like this fail function is not being passed into the exec() method. Instead we are directly passing in the given errorCallback which is why we probably didn't notice it.