diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-03-29 22:57:54 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-03-29 22:57:54 +0000 |
| commit | e51abdc358cef3655f074f4ab0e6000623ce4749 (patch) | |
| tree | 1982623108807c54df0788c6738cc8e8aa48fed3 /lib/styles.js | |
| parent | 370a18d55e1cf97284088c5a1815f9f59ea0bcd7 (diff) | |
Allow styles to have CSS class
Diffstat (limited to 'lib/styles.js')
| -rw-r--r-- | lib/styles.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/styles.js b/lib/styles.js index 06d63a8..8120a76 100644 --- a/lib/styles.js +++ b/lib/styles.js @@ -22,6 +22,7 @@ function element(tagName, options) { options = options || {}; return { tagName: tagName, - fresh: options.fresh + fresh: options.fresh, + "class": options["class"] }; } |
