[Customizer] Interpret "function () { ... }" strings in properties as functions

RESOLVED WONTFIX

Status

Firefox OS
Gaia::Customizer
P1
normal
RESOLVED WONTFIX
3 years ago
5 months ago

People

(Reporter: drs, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [spark])

(Reporter)

Description

3 years ago
Without the "Events" panel, we currently have no way to set the values of properties to functions. One solution to this is do a Regex exec on a value for "function.*\(\.*\).*\{.*\}" and, if we get a match, eval() it, the set the property to that. Another is that we could just always call eval() on all passed values.
(Reporter)

Updated

3 years ago
Blocks: 1133943
(Reporter)

Updated

3 years ago
No longer blocks: 1133835
Whiteboard: [lightsaber] → [ignite]
Bulk update to set the correct component and whiteboard.
Component: Gaia → Gaia::Customizer
Whiteboard: [ignite] → [spark]

Comment 2

5 months ago
Firefox OS is not being worked on
Status: NEW → RESOLVED
Last Resolved: 5 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.