Remove --harmony JavaScript flag

This commit is contained in:
Lee Dohm
2016-10-26 11:09:03 -07:00
committed by Ian Olsen
parent 454323e69e
commit 505160f24c

View File

@@ -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 = =>