From 45f96ab67fe8fa5d76336c61fbb356e24febb1d8 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Sat, 25 May 2013 11:50:23 +0800 Subject: [PATCH] Fix atom.getVersion. --- src/atom-application.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atom-application.coffee b/src/atom-application.coffee index 24a56ec82..3e196cb72 100644 --- a/src/atom-application.coffee +++ b/src/atom-application.coffee @@ -158,7 +158,7 @@ class AtomApplication ipc.on 'new-window', => @open() - ipc.on 'get-version', (event) -> + ipc.on 'get-version', (event) => event.result = @version sendCommand: (command) ->