```coffee
(version) ->
  (text) -> String(text).replace /\%VERSION\%/mg, version
```