Closed mreq closed 8 years ago
Convenient when working with many arguments (e.g. Ember passing on actions). Also simplifies git diffs a lot.
http://www.rubydoc.info/gems/slim/frames#Attributes_wrapper
Now:
custom-component foo=foo bar=bar foobar="foobar" barfoo="barfoo"
After:
custom-component( foo=foo bar=bar foobar="foobar" barfoo="barfoo" )
foo-bar[ biz=bang ]
Thanks, that will do :)
Convenient when working with many arguments (e.g. Ember passing on actions). Also simplifies git diffs a lot.
http://www.rubydoc.info/gems/slim/frames#Attributes_wrapper
Now:
After: