From c05b6e3b83e0d4fd4c69034dd1f6959ff7794022 Mon Sep 17 00:00:00 2001
From: Lloyd Hilaiel <lloyd@hilaiel.com>
Date: Sat, 21 Jul 2012 16:58:21 -0600
Subject: [PATCH] (example code) fix logout button in example primary.  we've
 required that folks call navigator.id.logout(), invoking the logout function
 with navigator.id as the this pointer.

---
 example/rp/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/example/rp/index.html b/example/rp/index.html
index 50f5808a8..bef670ebd 100644
--- a/example/rp/index.html
+++ b/example/rp/index.html
@@ -193,7 +193,7 @@ $(document).ready(function() {
     });
   });
 
-  $(".specify button.logout").click(navigator.id.logout);
+  $(".specify button.logout").click(function() { navigator.id.logout() });
 
   $(".session button.update_session").click(function() {
     storage.loggedInUser = $.trim($('#loggedInUser').val());
-- 
GitLab