Sha256: a95eeeb239885762c3d6aa43aa158d1562edc41dd0eac1419a76cde6b8e98c5e
Contents?: true
Size: 796 Bytes
Versions: 128
Compression:
Stored size: 796 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)); } $(window).load(function() { $("#top_nav ul.quick > li").mouseenter(function() { $(this).find("ul").show(); $(this).children('a, span').addClass('hovered'); }); $("#top_nav ul.quick > li").mouseleave(function() { $(this).find("ul").hide(); $(this).children('a, span').removeClass('hovered'); }); });
Version data entries
128 entries across 128 versions & 1 rubygems