Gitiles
Code Review
Sign In
gerrit.openfyde.cn
/
chromium.googlesource.com
/
devtools
/
devtools-frontend
/
706ec965fb2b59e2aa5d97a77d35ac34aaab4120
/
.
/
node_modules
/
csso
/
lib
/
replace
/
String.js
blob: ca9e60d2da330df892d9e7a0b4d753a409394ce6 [
file
] [
log
] [
blame
]
module
.
exports
=
function
(
node
)
{
var
value
=
node
.
value
;
// remove escaped newlines, i.e.
// .a { content: "foo\
// bar"}
// ->
// .a { content: "foobar" }
value
=
value
.
replace
(
/\\(\r\n|\r|\n|\f)/
g
,
''
);
node
.
value
=
value
;
};