[pre-commit.ci] pre-commit autoupdate (#1169)
This commit is contained in:
committed by
GitHub
parent
133ed74877
commit
f6ebfef6cd
@@ -1,6 +1,6 @@
|
|||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||||
rev: v3.0.2
|
rev: v4.0.0-alpha.8
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
args:
|
args:
|
||||||
@@ -9,7 +9,7 @@ repos:
|
|||||||
- '--trailing-comma=all'
|
- '--trailing-comma=all'
|
||||||
exclude: &build 'CookieMonster(Dev)?.js(.map)?'
|
exclude: &build 'CookieMonster(Dev)?.js(.map)?'
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.4.0
|
rev: v4.6.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
exclude: *build
|
exclude: *build
|
||||||
|
|||||||
@@ -98,9 +98,8 @@ export function UpdateBotBar() {
|
|||||||
l('CMBotBar').firstChild.firstChild.childNodes[3].childNodes[count].className =
|
l('CMBotBar').firstChild.firstChild.childNodes[3].childNodes[count].className =
|
||||||
ColourTextPre + timeColour.colour;
|
ColourTextPre + timeColour.colour;
|
||||||
if (timeColour.text === 'Done!' && Game.cookies < Game.Objects[i].bulkPrice) {
|
if (timeColour.text === 'Done!' && Game.cookies < Game.Objects[i].bulkPrice) {
|
||||||
l('CMBotBar').firstChild.firstChild.childNodes[3].childNodes[
|
l('CMBotBar').firstChild.firstChild.childNodes[3].childNodes[count].textContent =
|
||||||
count
|
`${timeColour.text} (with Wrink)`;
|
||||||
].textContent = `${timeColour.text} (with Wrink)`;
|
|
||||||
} else
|
} else
|
||||||
l('CMBotBar').firstChild.firstChild.childNodes[3].childNodes[count].textContent =
|
l('CMBotBar').firstChild.firstChild.childNodes[3].childNodes[count].textContent =
|
||||||
timeColour.text;
|
timeColour.text;
|
||||||
|
|||||||
@@ -101,9 +101,8 @@ export default function Warnings() {
|
|||||||
) {
|
) {
|
||||||
l('CMDispTooltipWarnUser').style.display = '';
|
l('CMDispTooltipWarnUser').style.display = '';
|
||||||
// Need to update tooltip text dynamically
|
// Need to update tooltip text dynamically
|
||||||
l(
|
l('CMDispTooltipWarnUser').children[0].textContent =
|
||||||
'CMDispTooltipWarnUser',
|
`Purchase of this item will put you under the number of Cookies equal to ${Game.mods.cookieMonsterFramework.saveData.cookieMonsterMod.settings.ToolWarnUser} seconds of CPS`;
|
||||||
).children[0].textContent = `Purchase of this item will put you under the number of Cookies equal to ${Game.mods.cookieMonsterFramework.saveData.cookieMonsterMod.settings.ToolWarnUser} seconds of CPS`;
|
|
||||||
l('CMDispTooltipWarnUserText').textContent = `${Beautify(
|
l('CMDispTooltipWarnUserText').textContent = `${Beautify(
|
||||||
Game.mods.cookieMonsterFramework.saveData.cookieMonsterMod.settings.ToolWarnUser *
|
Game.mods.cookieMonsterFramework.saveData.cookieMonsterMod.settings.ToolWarnUser *
|
||||||
GetCPS() -
|
GetCPS() -
|
||||||
|
|||||||
Reference in New Issue
Block a user