From b62a295a0875c9c10a524fc5d2ded08fd49fff92 Mon Sep 17 00:00:00 2001 From: Daniel Brain Date: Tue, 7 Mar 2017 23:39:22 -0800 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5197b940..58e587eb 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Send a message to another window, and: - Set up a [secure message channel](#secure-message-channel) between two windows on a certain domain - Send messages between a [parent and a popup window](#parent-to-popup-messaging) in IE -## Simple listener and sender with error handling +## Simple listener and sender ```javascript // Set up a listener @@ -27,7 +27,7 @@ postRobot.on('getUser', function(event) { // Yep, we're even returning a function to the other window! - logout() { + logout: function() { return $currentUser.logout(); } };