🔥 Remove default parameters

This commit is contained in:
Antonio Scandurra
2016-03-07 10:52:28 +01:00
parent 12587073d2
commit 914015e4eb

View File

@@ -834,9 +834,6 @@ class AtomEnvironment extends Model
saveState: (options) ->
return Promise.resolve() unless @enablePersistence
options ?= {}
options.isUnloading ?= false
new Promise (resolve, reject) =>
window.requestIdleCallback =>
state = @serialize(options)