Sign in
chromium
/
devtools
/
devtools-frontend
/
refs/heads/chromium/5259
/
.
/
node_modules
/
csso
/
lib
/
replace
/
String.js
blob: ca9e60d2da330df892d9e7a0b4d753a409394ce6 [
file
] [
log
] [
blame
] [
edit
]
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
;
};