It should use a relative require: require('./FileTransferError')
On Mon, Jul 15, 2013 at 3:28 PM, David Kemp <drk...@google.com> wrote: > the commit a few hours ago : > > > https://github.com/apache/cordova-plugin-file-transfer/commit/d39016ecb216b7f317ac6c76b2dcf4e11d34b69c > > Specifies the > > FileTransferError = > require('org.apache.cordova.core.FileTransfer.FileTransferError'), > > Which doesn't work since thats not where it is. > > I am assuming that file-transfer is the expected location (unless someone > plans to rename the directories...) > > so it should be: > > FileTransferError = > require('org.apache.cordova.core.file-transfer.FileTransferError'), > > Is this just an error, or was there some other work planned? >