Created
May 8, 2014 16:52
-
-
Save bdefore/49259ae11e70deb7f1b8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template name="foo"> | |
<img src="{{imagePath}}"> | |
</template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Template.foo.helpers | |
imagePath: () -> | |
imageData.url.replace("somePathPart", "forAnotherPathPart") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment