diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-06-12 14:52:34 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-06-12 14:52:34 -0400 |
| commit | 5a215e1b00e4fd026a83e81baa7a45c28435f73c (patch) | |
| tree | 6f4cbfab683b03e546951d526a0127dce012a7d9 /server/lib/util.js | |
| parent | 2525d1c20120ecb5224c9896a2e1acd77385cbc4 (diff) | |
routes for starting a new project
Diffstat (limited to 'server/lib/util.js')
| -rw-r--r-- | server/lib/util.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/lib/util.js b/server/lib/util.js index 2ff4e16..aaa8274 100644 --- a/server/lib/util.js +++ b/server/lib/util.js @@ -8,6 +8,7 @@ var nonAlphanumerics = new RegExp('[^-_a-zA-Z0-9]', 'g') var consecutiveDashes = new RegExp("-+", 'g') var entities = new RegExp("[<>&]", 'g') + var util = {} util.trim = function (s){ return (s || "").replace(whitespaceHead,"").replace(whitespaceTail,"") } |
