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:
@ -49,7 +49,6 @@
|
|||||||
"requireSpaceAfterBinaryOperators": [
|
"requireSpaceAfterBinaryOperators": [
|
||||||
"=", "+", "+=", "-", "-=", "/", "/=", "*", "*=", "===", "!==", "<", "<=", ">", ">="
|
"=", "+", "+=", "-", "-=", "/", "/=", "*", "*=", "===", "!==", "<", "<=", ">", ">="
|
||||||
],
|
],
|
||||||
"requireCamelCaseOrUpperCaseIdentifiers": true,
|
|
||||||
"disallowKeywords": ["with"],
|
"disallowKeywords": ["with"],
|
||||||
"disallowMultipleLineStrings": true,
|
"disallowMultipleLineStrings": true,
|
||||||
"disallowMixedSpacesAndTabs": "smart",
|
"disallowMixedSpacesAndTabs": "smart",
|
||||||
|
@ -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>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user