News for hackers. Stuff that matters.
Re:Bifocals.js - asynchronous, nested view rendering by d0m on Tuesday October 23, 2012 @06:53PM (#4690766)
Seems very interesting, I'll surely give it a try in my next personal project. Small suggestion to the author: Please add syntax highlighting in the example.. it makes a huge difference when reading code online! Thanks
Re:Bifocals.js - asynchronous, nested view rendering by Dashron on Tuesday October 23, 2012 @07:01PM (#4690799)
I messed with a couple of highlighters and they all had issues highlighting everything correctly.

I might turn them all into gists, but I am going to talk with the rainbow.js author before I do.

Hopefully this will be fixed soon!

Re:Bifocals.js - asynchronous, nested view rendering by bruth on Tuesday October 23, 2012 @10:34PM (#4691369)
Since you're using Github pages, just use Markdown fenced code blocks, e.g.

    ```javascript
    function() { .. }
    ```