From 875f46352704906bb0a5d8e10ae66e4e000fd879 Mon Sep 17 00:00:00 2001 From: Sashko Stubailo Date: Thu, 16 Oct 2014 13:57:16 -0700 Subject: [PATCH] Update launch screen readme once more --- packages/launch-screen/README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/launch-screen/README.md b/packages/launch-screen/README.md index 1165793a17..9d80bf5541 100644 --- a/packages/launch-screen/README.md +++ b/packages/launch-screen/README.md @@ -22,16 +22,14 @@ the user the actual app. ### Additional waiting before releasing the launch screen -To wait on more events before releasing the launch screen, call -`LaunchScreen.hold()` in the top-level of the client code of your app, -and when you're ready to show the launch screen, call -`LaunchScreen.release()`. +To wait on more events before releasing the launch screen, call `var handle = +LaunchScreen.hold()` in the top-level of the client code of your app, and when +you're ready to show the launch screen, call `handle.release()`. For example, to wait for a template to be rendered: ```javascript // in a client-only javascript file - var handle = LaunchScreen.hold(); Template.myUI.rendered = function () {