Mercurial > hg > bitsyauth
comparison example/persona.html @ 37:6b5946843928
example/persona.html example/wsgibrowserid.py
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 27 Dec 2013 13:58:22 -0800 |
parents | 119cf9c81d3d |
children | cb1d21648588 |
comparison
equal
deleted
inserted
replaced
36:afeb01315ab6 | 37:6b5946843928 |
---|---|
50 signinLink.onclick = function() { navigator.id.request(); }; | 50 signinLink.onclick = function() { navigator.id.request(); }; |
51 } | 51 } |
52 | 52 |
53 var signoutLink = document.getElementById('signout'); | 53 var signoutLink = document.getElementById('signout'); |
54 if (signoutLink) { | 54 if (signoutLink) { |
55 signoutLink.onclick = function() { navigator.id.logout(); }; | 55 signoutLink.onclick = function() { navigator.id.logout(); }; |
56 } | 56 } |
57 }); | 57 }); |
58 </script> | 58 </script> |
59 </head> | 59 </head> |
60 | 60 |