Mercurial > hg > digilib
comparison client/digitallibrary/baselib.js @ 245:75c427dc79f4
added identify function to make relato work again
author | luginbue |
---|---|
date | Thu, 12 Aug 2004 01:49:07 +0200 |
parents | 20c43a06076a |
children | 58d9cbdfb0c9 |
comparison
equal
deleted
inserted
replaced
244:71c51fb57ce1 | 245:75c427dc79f4 |
---|---|
18 Christian Luginbuehl, 01.05.2003 (first version) | 18 Christian Luginbuehl, 01.05.2003 (first version) |
19 DW 24.03.2004 (Changed for digiLib in Zope) | 19 DW 24.03.2004 (Changed for digiLib in Zope) |
20 Robert Casties, 03.08.2004 | 20 Robert Casties, 03.08.2004 |
21 | 21 |
22 */ | 22 */ |
23 | |
24 function identify() { | |
25 // used for identifying a digilib instance | |
26 // Relato uses that function - lugi | |
27 return "Digilib 0.6"; | |
28 } | |
23 | 29 |
24 function getInt(n) { | 30 function getInt(n) { |
25 // returns always an integer | 31 // returns always an integer |
26 n = parseInt(n); | 32 n = parseInt(n); |
27 if (isNaN(n)) return 0; | 33 if (isNaN(n)) return 0; |