You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
234 B
10 lines
234 B
1 month ago
|
if (!String.prototype.trim) {
|
||
|
(function() {
|
||
|
// Make sure we trim BOM and NBSP
|
||
|
var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
|
||
|
String.prototype.trim = function() {
|
||
|
return this.replace(rtrim, '');
|
||
|
};
|
||
|
})();
|
||
|
}
|