Project

General

Profile

Actions

Bug #11009

open

StdGridLayoutImpl2.js: totalPreferredSize and totalMinSize are modified before declaration

Added by Roel Standaert over 1 year 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Roel Standaert over 1 year ago

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

Also available in: Atom PDF