-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Misc text tasks movement on water #2076
base: devel
Are you sure you want to change the base?
Misc text tasks movement on water #2076
Conversation
zdn/fast_set.sh
Outdated
@@ -6,7 +6,21 @@ | |||
#относительный путь до скрипта и до обрабатываемой папки | |||
#../fast_set.sh ../../matege2023p/4 | |||
|
|||
array=() | |||
array=( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А это точно стОит сливать в основную ветку?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Скорее нет, чем да
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Но каким-то образом нужно сохранять список
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Класть этот список каким-то образом в папку с набором?..
@@ -1,4 +1,19 @@ | |||
(function() { | |||
let key = "7"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не-не-не, такое значение ключа не пойдёт! Нужно найти на РешуЕГЭ и взять в качестве ключа номер оттуда
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Оно так работает
fast set генерирует доп строку в main по номеру шаблона
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
window.nabor.preferences['7'] = ['total_distance'];
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Оно не должно работать ТАК. Ключ для preferences
должен быть хоть сколь-либо осмысленным. Поэтому либо уговорить его работать не так, либо поправить за ним.
Либо можно просто переименовать шаблон... А везде, где он цепляется симлинком, или в main.js
/ fipi.js
, переименовать. Не самое приятное, но можно. Либо можно переименовать под РешуЕГЭ только в том наборе, из которого работает fast-set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Это всё натягивание совы на глобус
Осмысленным тут должна быть только ['total_distance']
А сейчас это всё приведёт к перелопачиванию огромного количества симлинков
}, { | ||
vel: 'суммарное пройденное лодкой расстояние', | ||
zna: s * 2, | ||
rod: 2, | ||
nah: 1, | ||
nah: (variant == 3), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не уверен, что здесь нужны скобки, но со скобками в принципе тоже годится.
5999, | ||
].iz() | ||
window.comment='5999'; | ||
chas2.task.setMinimaxFunctionTask.forbidOpenEnds = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Это-то тут зачем?!
525375, | ||
].iz() | ||
window.comment='525375'; | ||
chas2.task.setMinimaxFunctionTask.forbidOpenEnds = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
И тут...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В основную ветку принимать надо - иначе техдолг. Но разрезку надо сделать аккуратно!
No description provided.