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
/
underscore.string
/
words.js
1
var isBlank = require('./isBlank');
2
var trim = require('./trim');
3
4
module.exports = function words(str, delimiter) {
5
if (isBlank(str)) return [];
6
return trim(str, delimiter).split(delimiter || /\s+/);
7
};