Closed Bug 1007263 Opened 10 years ago Closed 10 years ago

Consider renaming app.js app object

Categories

(Firefox OS Graveyard :: Gaia::Homescreen, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: kgrandon, Unassigned)

Details

Currently the vertical homescreen has a global app object. The original idea was that all classes and functionality would be namespaced under this single object.

As the homescreen is also in charge of launching applications, we might have conflicts when we use `var app` around the application. We should consider renaming this to something else - though I'm not sure what yet.

'homescreen' seems like it might be a solid choice, but it's also a bit long to type. Simply 'home' might also work as well.
What do you think Cristian? Do you have any preference for the naming of the main app object here?
Flags: needinfo?(crdlc)
Good idea!, home, vhome,... what you want. I am not an English spoken so my opinion is a shi... here XD
(In reply to Kevin Grandon :kgrandon from comment #1)
> What do you think Cristian? Do you have any preference for the naming of the
> main app object here?
Flags: needinfo?(crdlc)
This is probably fine for now. Let's focus on the big fish.
No longer blocks: vertical-homescreen
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.