soundstep/soma-template — pull request #18 by Rob-pw (2014-11-13 14:34:15+00:00)
Title: [Attributes] data-class implementation

This PR implements data-class functionality.

data-class expects a valid JSON object as a value: keys are the class names to add; the value is used as a condition, a truthy value causes the class to be added to the target element.

Example usage:

```html

```