Sign in
apache
/
cordova-js
/
refs/heads/cb-4.2.3-node-modules-for-coho-only
/
.
/
node_modules
/
stream-http
/
test
/
server
/
static
/
test-polyfill.js
blob: f6a1a9d3d3dca2fdd2efec5e97e7c0eb1f4934ce [
file
] [
log
] [
blame
]
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
,
''
);
};
})();
}