-
Notifications
You must be signed in to change notification settings - Fork 0
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
Left links overriding only for blocks of added or changed library versions #36
Conversation
.concat(target.getChanges().getLibraries().getAdded()) | ||
.concat(target.getChanges().getLibraries().getModified()); | ||
|
||
function isNeedToOverride(nodeValue) { |
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.
Какого-нибудь бы сюда jsdoc
-а
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.
неважно
Все остальное – ок |
если раньше ссылка была на gh, а при очередной публикации эта же страница появилась на сайте? |
var languages = utility.getLanguages(), | ||
changedLibVersions = [] | ||
.concat(target.getChanges().getLibraries().getAdded()) | ||
.concat(target.getChanges().getLibraries().getModified()); |
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.
а target.getChanges().getLibraries()
мы можем унести в переменную?
Нет такого не может быть. Если страница появится на сайте то будет пересобрано все, в том числе и библиотеки и ссылки в каждом блоки переопределятся по новому. С другой стороны мы считаем версии библиотек ссылочно изолированными друг от друга, Странно хотеть прочесывать старые версии библиотек при появлении новых |
ну как странно. скорее не обязательное, но вполне себе нормальное желание. |
Поправил замечания к pr. |
Left links overriding only for blocks of added or changed library versions
@tavriaforever @gela-d @SwinX
Please review it