This repository has been archived on 2020-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
sp4ke.github.com/app/js/filters.js
2013-03-01 18:37:49 +01:00

13 lines
277 B
JavaScript

// Generated by CoffeeScript 1.4.0
(function() {
angular.module('myApp.filters', []).filter('interpolate', [
'version', function(version) {
return function(text) {
return String(text).replace(/\%VERSION\%/mg, version);
};
}
]);
}).call(this);