🐎 Memoize version to prevent future IPC calls

This commit is contained in:
Kevin Sawicki 2013-12-13 14:49:23 -08:00
parent 9aee5adeb6
commit 6a7e4c30fb

View File

@ -362,7 +362,7 @@ class Atom
# Public: Get the version of the Atom application.
getVersion: ->
app.getVersion()
@version ?= app.getVersion()
# Public: Determine whether the current version is an official release.
isReleasedVersion: ->