dashboard
repositories
filestore
activity
search
login
main
/
pyhmap
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
Merge branch 'master' of http://192.168.0.105:10010/r/pyhmap
shuishen
2021-06-18
d12e030d8a7690d79c5786bc2a786b6c21a24433
[pyhmap.git]
/
libs
/
polyfills
/
trim.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/**
* String.prototype.trim Polyfill
*/
String.prototype.trim = (function() {
var trimRegex = /(^\s+|\s+$)/g;
return function() {
return this.replace(trimRegex, '');
};
}());
/* End of file trim.js */