view example/persona.html @ 48:d66d6c10cfe4

refactor to .js file
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 30 Dec 2013 15:49:19 -0800
parents 54a53bbe5be9
children 8358634e3d75
line wrap: on
line source

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<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://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="https://login.persona.org/include.js"></script>
<script>
$(document).ready(function() {

var currentUser = null;

</script>
</head>

<body>
<h1>
<a href="https://login.persona.org/">Mozilla persona</a>
<a href="http://k0s.org/hg/bitsyauth/">bitsyauth</a>
test page
</h1>

<div>
  <a id="signin">sign in</a>
</div>

<ul id="clickcounter">
</ul>

<h2>Resources</h2>
<ul>
  <li>
  <a href="https://developer.mozilla.org/en-US/Persona/branding">
  branding
  </a>:
  buttons and what not
  </li>
</ul>

</body>
</html>