Skip to content

Commit

Permalink
Fix usage of idlAttributeToCSSProperty(…)
Browse files Browse the repository at this point in the history
  • Loading branch information
ExE-Boss committed Apr 12, 2020
1 parent e1dc260 commit 7156c3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/download_latest_properties.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ request(url, function(error, response, body) {
out_file.write('/*\n *\n * https://www.w3.org/Style/CSS/all-properties.en.html\n */\n\n');
out_file.write(
'module.exports = new Set(' +
JSON.stringify(CSSpropertyNames.map(idlAttributeToCSSProperty), null, 2) +
JSON.stringify(CSSpropertyNames.map(p => idlAttributeToCSSProperty(p)), null, 2) +
');\n'
);

Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_implemented_properties.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const dashedProperties = fs
.map(propertyFile => {
return idlAttributeToCSSProperty(
path.basename(propertyFile, '.js'),
webkitPropertyName.test(propertyFile)
/* dashPrefix = */ webkitPropertyName.test(propertyFile)
);
});

Expand Down

0 comments on commit 7156c3f

Please sign in to comment.