Redefine 'will-download' design.
This commit is contained in:
parent
5ef9c7e1a1
commit
0861d5d44b
11 changed files with 149 additions and 101 deletions
|
@ -15,7 +15,7 @@ wrapDownloadItem = (download_item) ->
|
|||
# download_item is an Event Emitter.
|
||||
download_item.__proto__ = EventEmitter.prototype
|
||||
# Be compatible with old APIs.
|
||||
download_item.url = download_item.getURL()
|
||||
download_item.url = download_item.getUrl()
|
||||
download_item.filename = download_item.getSuggestedFilename()
|
||||
download_item.mimeType = download_item.getMimeType()
|
||||
download_item.hasUserGesture = download_item.hasUserGesture()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue