Tag Archives: prototype

Add Stable Merge Sort to Array and jQuery Prototypes

Some browsers’ JavaScript implementations don’t implement a stable sort, but stable sorting can be so handy if you want to, say, sort a table by multiple columns. So here’s a quick and easy way to add an efficient, stable merge … Continue reading

Posted in javascript | Tagged , , , , , , , , , , | Leave a comment

Framework-Free Automatic Brush Loading for SyntaxHighlighter

Update: Have you heard of SyntaxHighlighter? It’s pretty cool. I like that it adds little controls for popping the code out into a new window in plain text and that it has line numbers. However, I think that these days … Continue reading

Posted in javascript, scripts | Tagged , , , , , , , , , , | Leave a comment