mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Remove --harmony JavaScript flag
This commit is contained in:
@@ -93,7 +93,6 @@ class AtomApplication
|
||||
@atomProtocolHandler = new AtomProtocolHandler(@resourcePath, @safeMode)
|
||||
|
||||
@listenForArgumentsFromNewProcess()
|
||||
@setupJavaScriptArguments()
|
||||
@setupDockMenu()
|
||||
|
||||
@launch(options)
|
||||
@@ -201,10 +200,6 @@ class AtomApplication
|
||||
# which is why this check is here.
|
||||
throw error unless error.code is 'ENOENT'
|
||||
|
||||
# Configures required javascript environment flags.
|
||||
setupJavaScriptArguments: ->
|
||||
app.commandLine.appendSwitch 'js-flags', '--harmony'
|
||||
|
||||
# Registers basic application commands, non-idempotent.
|
||||
handleEvents: ->
|
||||
getLoadSettings = =>
|
||||
|
||||
Reference in New Issue
Block a user