FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

lab3 fix · shipengineer/JavaScript@56f9c01 · GitHub

Commit 56f9c01

Browse files
Alekhin Sergey
committed
lab3 fix
1 parent b78d9da commit 56f9c01

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tutorials/front/front.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ clickCard(e) {
565565
const cardId = e.target.dataset.id
566566
}
567567

568-
const productCard = new ProductCardComponent(this.page)
568+
const productCard = new ProductCardComponent(this.pageRoot)
569569
productCard.render(item, this.clickCard.bind(this))
570570
```
571571

@@ -758,7 +758,7 @@ render() {
758758
backButton.render(this.clickBack.bind(this))
759759

760760
const data = this.getData()
761-
const stock = new StockComponent(this.pageRoot)
761+
const stock = new ProductComponent(this.pageRoot)
762762
stock.render(data)
763763
}
764764
```

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL