Still support 'atom-delegate' API for old apps.
This commit is contained in:
parent
b939232670
commit
fe8a2b9ee0
2 changed files with 7 additions and 0 deletions
1
atom.gyp
1
atom.gyp
|
@ -12,6 +12,7 @@
|
||||||
],
|
],
|
||||||
'coffee_sources': [
|
'coffee_sources': [
|
||||||
'browser/api/lib/app.coffee',
|
'browser/api/lib/app.coffee',
|
||||||
|
'browser/api/lib/atom-delegate.coffee',
|
||||||
'browser/api/lib/auto-updater.coffee',
|
'browser/api/lib/auto-updater.coffee',
|
||||||
'browser/api/lib/browser-window.coffee',
|
'browser/api/lib/browser-window.coffee',
|
||||||
'browser/api/lib/dialog.coffee',
|
'browser/api/lib/dialog.coffee',
|
||||||
|
|
6
browser/api/lib/atom-delegate.coffee
Normal file
6
browser/api/lib/atom-delegate.coffee
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
module.exports =
|
||||||
|
browserMainParts:
|
||||||
|
preMainMessageLoopRun: ->
|
||||||
|
|
||||||
|
setImmediate ->
|
||||||
|
module.exports.browserMainParts.preMainMessageLoopRun()
|
Loading…
Reference in a new issue