mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Simplifying test.
This commit is contained in:
parent
3a4b565155
commit
874efdd48d
@ -195,7 +195,7 @@ function addThis()
|
||||
*/
|
||||
function stripWhite(str)
|
||||
{
|
||||
var re = /([ \t\n\v\f\r]|\\t|\\n)/g;
|
||||
var re = /\s|\\t|\\n/g;
|
||||
return str.replace(re, '');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user