projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Security update to Drupal 8.4.6
[yaffs-website]
/
node_modules
/
trim
/
index.js
1
2
exports = module.exports = trim;
3
4
function trim(str){
5
return str.replace(/^\s*|\s*$/g, '');
6
}
7
8
exports.left = function(str){
9
return str.replace(/^\s*/, '');
10
};
11
12
exports.right = function(str){
13
return str.replace(/\s*$/, '');
14
};