improvement done while working with the software.
This commit is contained in:
1 parent
96ed18787a
commit
741ec3f40c
4 files changed
+21
-13
No files matched your search
@@ -6,8 +6,12 @@ root.filters.filter 'escape', () ->
|
||||
|
||||
root.filters.filter 'replaceAllCommasBySpaces', () ->
|
||||
return (text) ->
|
||||
return text.replace(new RegExp(",","g"), " ")
|
||||
return text.replace(new RegExp(",","g"), " ")
|
||||
|
||||
root.filters.filter 'niceJSON', () ->
|
||||
return (obj) ->
|
||||
return JSON.stringify(obj, null, 4);
|
||||
return JSON.stringify(obj, null, 4);
|
||||
|
||||
root.filters.filter 'replaceReturnByBreak', () ->
|
||||
return (text) ->
|
||||
return text.replace(new RegExp("\n","g"), "<br>")
|
||||
Reference in new issue
Block a user