Project

General

Profile

Bug #11009

StdGridLayoutImpl2.js: totalPreferredSize and totalMinSize are modified before declaration

Added by Roel Standaert about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
10/14/2022
Due date:
% Done:

0%

Estimated time:

Description

While working on issue #10967 I noticed that totalPreferredSize and totalMinSize were used before they were declared with var and given an initial value of 0.

I marked this with a FIXME comment "totalPreferredSize and totalMinSize are still undefined here?"

This likely indicates a bug. We should either look into it and fix it if we don't retire JS-based layouts altogether.


Related issues

Related to Improvements #10967: Add linting to Wt's JavaScript and address warnings coming from the linterResolvedRoel Standaert09/22/2022

Actions
#1

Updated by Roel Standaert about 2 months ago

  • Related to Improvements #10967: Add linting to Wt's JavaScript and address warnings coming from the linter added

Also available in: Atom PDF