master
Christopher Chedeau 2017-05-27 14:11:30 -07:00
parent 0c977a785b
commit c0d6ce53b7
2 changed files with 5 additions and 5 deletions

View File

@ -67,7 +67,7 @@ function massageAST(ast) {
}
if (ast.type === "media-feature") {
newObj.value = newObj.value.replace(/ /g, '');
newObj.value = newObj.value.replace(/ /g, "");
}
// (TypeScript) Ignore `static` in `constructor(static p) {}`

View File

@ -2669,10 +2669,10 @@ function genericPrintNoParens(path, options, print, args) {
if (
isURLCall &&
(n.groups.length === 1 ||
n.groups[0].type === "value-comma_group" &&
n.groups[0].groups.length > 0 &&
n.groups[0].groups[0].type === "value-word" &&
n.groups[0].groups[0].value === "data")
(n.groups[0].type === "value-comma_group" &&
n.groups[0].groups.length > 0 &&
n.groups[0].groups[0].type === "value-word" &&
n.groups[0].groups[0].value === "data"))
) {
return concat([
n.open ? path.call(print, "open") : "",