W3C home > Mailing lists > Public > spec-prod@w3.org > October to December 2012

Re: biblio.js update best practice?

From: Bryan Sullivan <blsaws@gmail.com>
Date: Thu, 11 Oct 2012 06:32:17 -0700
To: <spec-prod@w3.org>
Message-ID: <CC9C1870.2BE82%blsaws@gmail.com>
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.

<!DOCTYPE html>

<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");

<body onload="test('HTML5');">
Check the reference: <input id=check type=text onchange='test(check.value);'
<div id=ref></div>
Received on Thursday, 11 October 2012 13:32:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:55:17 UTC