Mercurial > hg > digilib-old
comparison client/digitallibrary/baselib.js @ 249:4caec1a85233
added identify function to make relato work again
author | luginbue |
---|---|
date | Thu, 12 Aug 2004 01:49:07 +0200 |
parents | e2c455c2a0d0 |
children | d7f0045384f5 |
comparison
equal
deleted
inserted
replaced
248:004a9467b4ec | 249:4caec1a85233 |
---|---|
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; |