projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added the Porter Stemmer module to improve searches. This doesn't deal with some...
[yaffs-website]
/
node_modules
/
tsml
/
tsml.js
1
function clean (s) {
2
return s.replace(/\n\r?\s*/g, '')
3
}
4
5
6
module.exports = function tsml (sa) {
7
var s = ''
8
, i = 0
9
10
for (; i < arguments.length; i++)
11
s += clean(sa[i]) + (arguments[i + 1] || '')
12
13
return s
14
}