Skip to content

Commit 7156c3f

Browse files
committed
Fix usage of idlAttributeToCSSProperty(…)
1 parent e1dc260 commit 7156c3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/download_latest_properties.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ request(url, function(error, response, body) {
6969
out_file.write('/*\n *\n * https://www.w3.org/Style/CSS/all-properties.en.html\n */\n\n');
7070
out_file.write(
7171
'module.exports = new Set(' +
72-
JSON.stringify(CSSpropertyNames.map(idlAttributeToCSSProperty), null, 2) +
72+
JSON.stringify(CSSpropertyNames.map(p => idlAttributeToCSSProperty(p)), null, 2) +
7373
');\n'
7474
);
7575

scripts/generate_implemented_properties.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const dashedProperties = fs
1313
.map(propertyFile => {
1414
return idlAttributeToCSSProperty(
1515
path.basename(propertyFile, '.js'),
16-
webkitPropertyName.test(propertyFile)
16+
/* dashPrefix = */ webkitPropertyName.test(propertyFile)
1717
);
1818
});
1919

0 commit comments

Comments
 (0)