1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-21 18:44:37 +02:00

[ticket/13898] Allow underscores :(

PHPBB3-13898
This commit is contained in:
Callum Macrae
2015-05-30 14:55:42 +02:00
parent bafd649eea
commit a39a421acb
2 changed files with 3 additions and 4 deletions

View File

@ -49,7 +49,6 @@
"requireSpaceAfterBinaryOperators": [ "requireSpaceAfterBinaryOperators": [
"=", "+", "+=", "-", "-=", "/", "/=", "*", "*=", "===", "!==", "<", "<=", ">", ">=" "=", "+", "+=", "-", "-=", "/", "/=", "*", "*=", "===", "!==", "<", "<=", ">", ">="
], ],
"requireCamelCaseOrUpperCaseIdentifiers": true,
"disallowKeywords": ["with"], "disallowKeywords": ["with"],
"disallowMultipleLineStrings": true, "disallowMultipleLineStrings": true,
"disallowMixedSpacesAndTabs": "smart", "disallowMixedSpacesAndTabs": "smart",

View File

@ -1439,9 +1439,9 @@ phpbb.colorPalette = function(dir, width, height) {
for (b = 0; b < 5; b++) { for (b = 0; b < 5; b++) {
color = '' + numberList[r] + numberList[g] + numberList[b]; color = '' + numberList[r] + numberList[g] + numberList[b];
html += '<td style="background-color: #' + color + '; width: ' + width + 'px; height: ' + height + 'px;">'; html += '<td style="background-color: #' + color + '; width: ' + width + 'px; height: ' +
html += '<a href="#" data-color="' + color + '" style="display: block; width: ' + width + 'px; height: ' + height + 'px;"><a href="#" data-color="' + color + '" style="display: block; width: ' +
height + 'px; " alt="#' + color + '" title="#' + color + '"></a>'; width + 'px; height: ' + height + 'px; " alt="#' + color + '" title="#' + color + '"></a>';
html += '</td>'; html += '</td>';
} }