Mercurial > public > sg101
view media/js/bio.js @ 124:9c18250972d5
Refactored the markdown/smiley logic. Created classes for Markdown and Smilify. No longer call render_to_string() in models.py for various models.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 14 Nov 2009 04:32:32 +0000 |
parents | d5eed0a91a05 |
children | c515b7401078 |
line wrap: on
line source
$(document).ready(function() { $('#id_profile_text').markItUp(mySettings); $('#id_signature').markItUp(mySettings); $('#id_birthday').datepicker({changeMonth: true, changeYear: true, dateFormat: 'yy-mm-dd', defaultDate: '-30y', minDate: new Date(1909, 0, 1), maxDate: new Date(), yearRange: '-100:+0'}); });