Cache atom version

This commit is contained in:
probablycorey
2014-01-16 14:07:20 -08:00
parent 1f105542a3
commit c56dce0c80

View File

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