Re: biblio.js update best practice?

Because I like doing it this way, I wrote a quick biblio tester page. Put
this in the directory above your respect git clone directory.
Bryan

<!DOCTYPE html>

<html>
<head>
<title>Respec biblio.js Tester</title>
<script type="text/javascript" src="respec/bibref/biblio.js"></script>
<script type="text/javascript">
function test(ref) {
if (typeof berjon !== "undefined") document.getElementById('ref').innerHTML
= berjon.biblio[ref];
else alert("biblio.js did not compile");
};
</script>
</head>

<body onload="test('HTML5');">
Check the reference: <input id=check type=text onchange='test(check.value);'
value='HTML5'></input>
<div id=ref></div>
</body>
</html>

Received on Thursday, 11 October 2012 13:32:53 UTC