Closed Bug 1136205 Opened 5 years ago Closed 2 years ago

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

Categories

(Firefox OS Graveyard :: Gaia::Customizer, defect, P1)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: drs, Unassigned)

References

Details

(Whiteboard: [spark])

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.
No longer blocks: 1133835
Whiteboard: [lightsaber] → [ignite]
Bulk update to set the correct component and whiteboard.
Component: Gaia → Gaia::Customizer
Whiteboard: [ignite] → [spark]
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.