-
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
Пришёл, увидел, загрузил (часть 1) #9
Пришёл, увидел, загрузил (часть 1) #9
Conversation
Ваш пулреквест опубликован. Посмотреть можно здесь |
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.
Отличная работа!
import BoardPresenter from './presenter/board-presenter.js'; | ||
import FilterPresenter from './presenter/filter-presenter.js'; | ||
import NewAddEventButtonView from './view/new-add-event-button-view.js'; | ||
import EventsApiService from './events-api-service.js'; | ||
|
||
const AUTHORIZATION = 'Basic 357082111.1703690932'; |
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.
в файлик с константами, либо в файл с api
|
||
#generateDefaultEvent = (offersMap, defaultType) => { | ||
const defaultOffers = offersMap.get(defaultType) || null; | ||
const defaultEvent = { |
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)