Sign in
apache
/
cordova-js
/
refs/heads/cb-4.2.3-node-modules-for-coho-only
/
.
/
node_modules
/
underscore.string
/
map.js
blob: c2910ae8e88ce0b25b0322c63898b6234d97fc62 [
file
] [
log
] [
blame
]
var
makeString
=
require
(
'./helper/makeString'
);
module
.
exports
=
function
(
str
,
callback
)
{
str
=
makeString
(
str
);
if
(
str
.
length
===
0
||
typeof
callback
!==
'function'
)
return
str
;
return
str
.
replace
(
/./
g
,
callback
);
};