a JavaScript front-end for Babelmark
John Fraser
john at attacklab.net
Mon Mar 31 12:27:20 EDT 2008
On Mar 31, 2008, at 9:04 AM, Tomas Doran wrote:
> On 31 Mar 2008, at 12:03, Michel Fortin wrote:
>> Le 2008-03-31 à 3:35, Tomas Doran a écrit :
>>> I've just stolen your code and plugged it into my mirror of
>>> Babelmark, looks really awesome!
>> I think it'd be a little better if the compare checkbox was off by
>> default however.
> Totally agree about the compare checkbox..
That's great! Thanks Tom.
I agree about the checkbox (I only set it to "on" for the
bookmarklet). You can change it in babelmark.js:
var compare = getFormParam("compare","on");
Just change that to "off". It ought to keep track of your setting
through a submit.
My code uses some convoluted jQuery selectors to find elements, so
it's likely to break if the HTML changes much. If that's likely, we
might want to sprinkle in a couple of id's to give it more to hold on
to. But that probably only makes sense if both Michael and Tom are
into it, since I assume you don't want your versions to diverge too
much.
- John
More information about the Markdown-Discuss
mailing list