Closed Bug 1024847 Opened 11 years ago Closed 11 years ago

[Settings] Remove battery.js from the list of lazy loading

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: arthurcc, Assigned: arthurcc)

References

Details

(Whiteboard: [p=1])

Attachments

(1 file)

As root panel has been refactored as an AMD module, the battery module should also be required in the AMD way.
EJ, could you help review this simple patch? It simply converts the legacy script to an AMD module and updates some dom namings. Thanks!
Attachment #8439737 - Flags: review?(ejchen)
Comment on attachment 8439737 [details] Link to https://github.com/mozilla-b2g/gaia/pull/20480 r+ with only one nit. But because there are some changes in python, that would be better to ask for Zac or some others' review for that. And please make sure to merge your patch after Travis is green. Thanks for your efforts, Arthur :)
Attachment #8439737 - Flags: review?(ejchen) → review+
Comment on attachment 8439737 [details] Link to https://github.com/mozilla-b2g/gaia/pull/20480 Thanks for reviewing, EJ! Zac, as I modified the id of an element, could you help review the follwing ui test files? Thanks! tests/python/gaia-ui-tests/gaiatest/apps/settings/app.py tests/python/gaia-ui-tests/gaiatest/tests/endurance/test_endurance_settings.py
Attachment #8439737 - Flags: review?(zcampbell)
Attachment #8439737 - Flags: review?(zcampbell) → review+
Thanks for reviewing. master: 3eba4be4ddc442d5f8da9d8600903979ff776c1a
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: