projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c493bec
)
Deprecating a property with method of same name causes trouble
author
Cheng Zhao
<zcbenz@gmail.com>
Wed, 2 Dec 2015 09:29:58 +0000
(17:29 +0800)
committer
Cheng Zhao
<zcbenz@gmail.com>
Wed, 2 Dec 2015 09:29:58 +0000
(17:29 +0800)
Close #3511.
atom/browser/api/lib/app.coffee
patch
|
blob
|
history
diff --git
a/atom/browser/api/lib/app.coffee
b/atom/browser/api/lib/app.coffee
index 4d1803a0296f8b85af2af6cc709345cbfbfb3f27..d0ec41c4d23c6e79eda0ae647cb9ec1108e560f3 100644
(file)
--- a/
atom/browser/api/lib/app.coffee
+++ b/
atom/browser/api/lib/app.coffee
@@
-65,7
+65,6
@@
wrapDownloadItem = (downloadItem) ->
deprecate.property downloadItem, 'url', 'getURL'
deprecate.property downloadItem, 'filename', 'getFilename'
deprecate.property downloadItem, 'mimeType', 'getMimeType'
- deprecate.property downloadItem, 'hasUserGesture', 'hasUserGesture'
deprecate.rename downloadItem, 'getUrl', 'getURL'
downloadItemBindings._setWrapDownloadItem wrapDownloadItem