From 314fcba89341cbdf9bd47fed62524640fe181d0c Mon Sep 17 00:00:00 2001 From: Darren Date: Wed, 3 Sep 2014 15:15:02 +0100 Subject: [PATCH] Adding 'loaded' event to kiwi.events --- client/src/app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/app.js b/client/src/app.js index e7d643d..ec0c348 100644 --- a/client/src/app.js +++ b/client/src/app.js @@ -242,7 +242,10 @@ _kiwi.global = { }, start: function() { - _kiwi.app.showStartup(); + _kiwi.global.events.emit('loaded') + .done(function() { + _kiwi.app.showStartup(); + }); }, // Allow plugins to change the startup applet -- 2.25.1