+ removeNewline filter;

This commit is contained in:
tmshv committed 2015-07-08 20:18:20 +03:00
1 parent 6fa896066e
commit b782d0bd60
2 files changed
+12

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
/**
* Created by tmshv on 21/11/14.
*/
module.exports = function(app) {
app.filter("removeNewline", function () {
return function(string) {
return string.replace(/(\n)/g, ' ');
};
});
};