Optimize null values in the parser

RESOLVED FIXED

Status

L20n
JS Library
RESOLVED FIXED
a year ago
a year ago

People

(Reporter: stas, Assigned: stas)

Tracking

Details

(Whiteboard: [gecko-l20n])

(Assignee)

Description

a year ago
For entities with null values we must check all traits to see if any one of them is the default one.  It will then become the value.  This is rare if traits are primarily used for HTML/XUL attributes.

We could optimize this check by doing it in the parser.
(Assignee)

Updated

a year ago
Assignee: nobody → stas
(Assignee)

Comment 2

a year ago
https://github.com/l20n/l20n.js/commit/3418989fd8bdc5a07974f3404d09503409d42451
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.