annotate media/js/bio.js @ 128:48621ba5c385

Fixing #36, Smilify doesn't work when a smiley appears first before other text. Refactored the smiley system to produce markdown as well as HTML.
author Brian Neal <bgneal@gmail.com>
date Fri, 20 Nov 2009 01:43:32 +0000
parents d5eed0a91a05
children c515b7401078
rev   line source
gremmie@1 1
gremmie@1 2 $(document).ready(function() {
gremmie@1 3 $('#id_profile_text').markItUp(mySettings);
gremmie@1 4 $('#id_signature').markItUp(mySettings);
gremmie@1 5 $('#id_birthday').datepicker({changeMonth: true,
gremmie@1 6 changeYear: true,
gremmie@1 7 dateFormat: 'yy-mm-dd',
bgneal@77 8 defaultDate: '-30y',
gremmie@1 9 minDate: new Date(1909, 0, 1),
gremmie@1 10 maxDate: new Date(),
gremmie@1 11 yearRange: '-100:+0'});
gremmie@1 12 });