dashboard
repositories
filestore
activity
search
login
main
/
pyhmap
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
样式
liuyg
2021-06-02
f4dc7f89877f5a969c8cfcbf32343568e41c2c4e
[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 */