Mercurial > hg > bitsyauth
comparison example/persona.html @ 34:119cf9c81d3d
example/persona.html example/persona.py
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 27 Dec 2013 13:43:43 -0800 |
parents | 67439bcdac48 |
children | 6b5946843928 |
comparison
equal
deleted
inserted
replaced
33:67439bcdac48 | 34:119cf9c81d3d |
---|---|
9 | 9 |
10 <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.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 $(document).ready(function() { | 13 $(document).ready(function() { |
14 | |
15 alert("page loaded!"); | |
16 | 14 |
17 var currentUser = null; | 15 var currentUser = null; |
18 | 16 |
19 navigator.id.watch({ | 17 navigator.id.watch({ |
20 loggedInUser: currentUser, | 18 loggedInUser: currentUser, |