News for hackers. Stuff that matters.
Re:Json ⊄ js by dotborg on Friday December 28, 2012 @03:45AM (#4977019)
you can put anything inside class attribute

<div id="data" class="{json: 'x'}"/>

you can mix actual classes with JSON, just put JSON at the end:

<div class="header inline {json: 'x'}"/>

CSS selectors will work just fine

There are no comments on this comment yet.