Mercurial > hg > bitsyauth
changeset 32:f462dc131d57
example/persona.html
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 27 Dec 2013 12:56:12 -0800 |
parents | 6af220013aa1 |
children | 67439bcdac48 |
files | example/persona.html |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/example/persona.html +++ b/example/persona.html @@ -2,22 +2,22 @@ <html> <head> <title>bistyauth Mozilla persona test page</title> <!-- Suppressing Compatability Mode for IE https://developer.mozilla.org/en-US/Persona/Quick_Setup?redirectlocale=en-US&redirectslug=Persona%2FQuick_Setup#Suppressing_Compatibility_Mode --> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> -<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script> +<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script src="https://login.persona.org/include.js"></script> <script> function onload() { -//alert("page loaded!"); +alert("page loaded!"); var currentUser = null; navigator.id.watch({ loggedInUser: currentUser, onlogin: function(assertion) { // A user has logged in! Here you need to: // 1. Send the assertion to your backend for verification and to create a session.