Mercurial > hg > bitsyauth
comparison example/persona.html @ 32:f462dc131d57
example/persona.html
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 27 Dec 2013 12:56:12 -0800 |
parents | 0bf52646061b |
children | 67439bcdac48 |
comparison
equal
deleted
inserted
replaced
31:6af220013aa1 | 32:f462dc131d57 |
---|---|
5 | 5 |
6 <!-- Suppressing Compatability Mode for IE | 6 <!-- Suppressing Compatability Mode for IE |
7 https://developer.mozilla.org/en-US/Persona/Quick_Setup?redirectlocale=en-US&redirectslug=Persona%2FQuick_Setup#Suppressing_Compatibility_Mode --> | 7 https://developer.mozilla.org/en-US/Persona/Quick_Setup?redirectlocale=en-US&redirectslug=Persona%2FQuick_Setup#Suppressing_Compatibility_Mode --> |
8 <meta http-equiv="X-UA-Compatible" content="IE=Edge"> | 8 <meta http-equiv="X-UA-Compatible" content="IE=Edge"> |
9 | 9 |
10 <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script> | 10 <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> |
11 <script src="https://login.persona.org/include.js"></script> | 11 <script src="https://login.persona.org/include.js"></script> |
12 <script> | 12 <script> |
13 function onload() { | 13 function onload() { |
14 | 14 |
15 //alert("page loaded!"); | 15 alert("page loaded!"); |
16 | 16 |
17 var currentUser = null; | 17 var currentUser = null; |
18 | 18 |
19 navigator.id.watch({ | 19 navigator.id.watch({ |
20 loggedInUser: currentUser, | 20 loggedInUser: currentUser, |