Skip to content

Instantly share code, notes, and snippets.

@hgezim hgezim/gist:2271780
Created Apr 1, 2012

What would you like to do?
CS template
t = (s, d) ->
s = s.replace new RegExp("{{#{k}}}", 'g'), v for k, v of d
return s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.