Sha256: 97327359feec0840fb9310c7a3eb833f4a21747c911b0e2e0e3fc0d15bf5d342
Contents?: true
Size: 752 Bytes
Versions: 2
Compression:
Stored size: 752 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'); 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
caboose-cms-1.0.2 | app/assets/javascripts/caboose/admin_main.js |
caboose-cms-1.0.1 | app/assets/javascripts/caboose/admin_main.js |