mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-13 08:44:12 +03:00
🐎 Memoize version to prevent future IPC calls
This commit is contained in:
parent
9aee5adeb6
commit
6a7e4c30fb
@ -362,7 +362,7 @@ class Atom
|
|||||||
|
|
||||||
# Public: Get the version of the Atom application.
|
# Public: Get the version of the Atom application.
|
||||||
getVersion: ->
|
getVersion: ->
|
||||||
app.getVersion()
|
@version ?= app.getVersion()
|
||||||
|
|
||||||
# Public: Determine whether the current version is an official release.
|
# Public: Determine whether the current version is an official release.
|
||||||
isReleasedVersion: ->
|
isReleasedVersion: ->
|
||||||
|
Loading…
Reference in New Issue
Block a user