mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Cache atom version
This commit is contained in:
@@ -104,7 +104,7 @@ class Atom extends Model
|
||||
|
||||
# Private: Get the version of the Atom application.
|
||||
@getVersion: ->
|
||||
app.getVersion()
|
||||
@version ?= app.getVersion()
|
||||
|
||||
# Private: Determine whether the current version is an official release.
|
||||
@isReleasedVersion: ->
|
||||
|
||||
Reference in New Issue
Block a user