Sha256: 13810309c9daa6ab60059d3690559301f696b07e3276ad13f1343113d9851629
Contents?: true
Size: 473 Bytes
Versions: 271
Compression:
Stored size: 473 Bytes
Contents
function curr(x) { if (!x) return '0.00' var t = typeof x; if (t == 'boolean') return '0.00'; if (t == 'number') return x.toFixed(2); if (t == 'string') return parseFloat(x).toFixed(2); console.log("curr doesn't know what this is:"); console.log(x); console.log(t); return 'STAHP' } function add_to_crumbtrail(href, text) { var c = $('#crumbtrail'); if (!c.is(':empty')) c.append(' > '); c.append($('<a/>').attr('href', href).html(text)); }
Version data entries
271 entries across 271 versions & 1 rubygems