Skip to content
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

Merged
merged 2 commits into from
Jul 13, 2015

Conversation

tormozz48
Copy link
Member

@tavriaforever @gela-d @SwinX

Please review it

.concat(target.getChanges().getLibraries().getAdded())
.concat(target.getChanges().getLibraries().getModified());

function isNeedToOverride(nodeValue) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Какого-нибудь бы сюда jsdoc

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

неважно

@tavriaforever
Copy link
Member

Все остальное – ок

@tadatuta
Copy link
Member

tadatuta commented Jul 8, 2015

если раньше ссылка была на gh, а при очередной публикации эта же страница появилась на сайте?

var languages = utility.getLanguages(),
changedLibVersions = []
.concat(target.getChanges().getLibraries().getAdded())
.concat(target.getChanges().getLibraries().getModified());
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а target.getChanges().getLibraries() мы можем унести в переменную?

@tormozz48
Copy link
Member Author

если раньше ссылка была на gh, а при очередной публикации эта же страница появилась на сайте?

Нет такого не может быть. Если страница появится на сайте то будет пересобрано все, в том числе и библиотеки и ссылки в каждом блоки переопределятся по новому.

С другой стороны мы считаем версии библиотек ссылочно изолированными друг от друга,
что дает возможность для такой оптимизации.

Странно хотеть прочесывать старые версии библиотек при появлении новых

@tadatuta
Copy link
Member

tadatuta commented Jul 8, 2015

ну как странно. скорее не обязательное, но вполне себе нормальное желание.

@tormozz48
Copy link
Member Author

Поправил замечания к pr.

tormozz48 added a commit that referenced this pull request Jul 13, 2015
Left links overriding only for blocks of added or changed library versions
@tormozz48 tormozz48 merged commit 1548119 into master Jul 13, 2015
@tormozz48 tormozz48 deleted the BEMINFO-1346 branch July 13, 2015 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants