Closed
Bug 871781
Opened 12 years ago
Closed 12 years ago
Add a prefix option to VariablesView eval macros
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: bbenvie, Assigned: bbenvie)
Details
Attachments
(1 file)
10.44 KB,
patch
|
Details | Diff | Splinter Review |
JSTerm's wrapping of the the VariablesView eval macros has redundent code which can be streamlined rather simply by providing a `prefix` option for those eval macros.
Assignee | ||
Comment 1•12 years ago
|
||
Currently, JSTerm's usage of the VariablesView eval macros works by breaking encapsulation of `Variable` objects (by temporarily modifying their "_symbolicName" property).
This patch adds a trailing `aPrefix` parameter to the three VariablesView eval macro functions. It refactors JSTerm's usage of these functions to use the prefix parameter instead of breaking encapsulation. It also moves them to static properties of JSTerm instead of being properties on the prototype (since they are neither |this| sensitive or changed per instance of JSTerm).
Assignee: nobody → bbenvie
Assignee | ||
Comment 2•12 years ago
|
||
This is going to be part of bug 828680, so closing this.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•