-
Notifications
You must be signed in to change notification settings - Fork 1
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
Шаблонизируй это #4
Conversation
…ючает dayjs. Добавляет и подключает модель в приложение. Добавляет логику отображения события.
Ваш пулреквест опубликован. Посмотреть можно здесь |
…вляет функцию вычисления разницы времени
Ваш пулреквест опубликован. Посмотреть можно здесь |
src/presenter/list-presenter.js
Outdated
this.listContainer = listContainer; | ||
this.eventModel = eventModel; |
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.
PoinsModel
src/presenter/list-presenter.js
Outdated
render(new AddNewPointView(), this.listContainer); | ||
render(new EditPointView(), this.listContainer); | ||
render(this.listComponent, this.listContainer); | ||
|
||
for (let i = 0; i < 3; i++) { // Создание элементов в списке | ||
render (new TripEventItemView(), this.listComponent.getElement()); | ||
for (let i = 0; i < this.listEvents.length; i++) { // Создание элементов в списке |
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.
PoinstModel.forEach((item) => {
const obj = {}
render (new EventItemView({obj}), this.listComponent.getElement());
})
Ваш пулреквест опубликован. Посмотреть можно здесь |
…ние модели points. Исправляет логику обработки моделей. Исправляет отображение offers во вьюшке
Ваш пулреквест опубликован. Посмотреть можно здесь |
…и. fix: исправляет логику подсчета времени, исправляет логику презентора через методы моделей, переименовывает общий обьект
Ваш пулреквест опубликован. Посмотреть можно здесь |
…актируемом пункте
Ваш пулреквест опубликован. Посмотреть можно здесь |
…ючает dayjs. Добавляет и подключает модель в приложение. Добавляет логику отображения события.
🎓 Шаблонизируй это