mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Document @isFirstLoad.
This commit is contained in:
@@ -384,6 +384,8 @@ class AtomEnvironment extends Model
|
||||
inSpecMode: ->
|
||||
@specMode ?= @getLoadSettings().isSpec
|
||||
|
||||
# Returns a {Boolean} indicating whether this the first time the window's been
|
||||
# loaded.
|
||||
isFirstLoad: ->
|
||||
@firstLoad ?= @getLoadSettings().firstLoad
|
||||
|
||||
|
||||
Reference in New Issue
Block a user