Closed tylersticka closed 8 years ago
Nice helper. I had a few comments, but LGTM either way 👍
R.memoize
is neat!
I've implemented all of @erikjung's feedback and bumped the package version (though I haven't pushed the tag yet because it isn't merged).
Re-review please! 😁
LGTM 👍
This adds an
{{svg "path/to/file"}}
helper for easily including SVG icons and other goodies inline.Differences from similar helpers:
<svg>
(no proceeding definition info or anything like that) and will strip awayxmlns
attributes, it does not do any other optimization or modification of the SVG files.basePath
prior to registering the helper to make things even more convenient.See comments in source for more info.
@erikjung @mrgerardorodriguez @nicolemors