Skip to content

Commit

Permalink
Add todos
Browse files Browse the repository at this point in the history
  • Loading branch information
temnov98 committed Dec 10, 2023
1 parent 988e1a8 commit 7fe68a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/tapme/js/pages/chart/components/chart.component.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// TODO: Refactor + typify this file

function hexToRgb(hex) {
let r = parseInt(hex.slice(1, 3), 16);
let g = parseInt(hex.slice(3, 5), 16);
Expand Down
4 changes: 4 additions & 0 deletions examples/tapme/js/pages/chart/model/chart.model.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// TODO: Refactor this file.
// 1) Поля названы не самым очевидным способом.
// 2) Из-за структуры observable полей тут происходят не самые оптимальные ререндеры компонентов.

class ChartModel extends BaseModel {
constructor() {
super();
Expand Down

0 comments on commit 7fe68a4

Please sign in to comment.