Closed Bug 950338 Opened 12 years ago Closed 12 years ago

[Cleopatra] Clean UI.js

Categories

(Core :: Gecko Profiler, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: alive, Assigned: alive)

Details

Attachments

(1 file, 1 obsolete file)

The ui.js now is in a messy state...it is just a too long file to understand. Main issue: 1. Some classes are defined in the UI but some classes are out side. 2. Mass of global functions I'm going to send a simple patch to refine (1) and do (2) in the followup to see if I could figure out a more semantic bootstrap procedure for cleopatra UI.
Attachment #8347609 - Flags: review?(bgirard)
Attachment #8347609 - Flags: review?(bgirard)
The patch is try to demote the mass global functions and try to make each module has their own responsibility. There's still ambiguous boundry between Cleopatra and AppUI but we could refine in the followup.
Attachment #8347609 - Attachment is obsolete: true
Attachment #8347743 - Flags: review?(bgirard)
Already merged. Thanks!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Attachment #8347743 - Flags: review?(bgirard) → review+
Target Milestone: --- → mozilla29
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: