Closed Bug 932226 Opened 11 years ago Closed 11 years ago

[Settings] Lazy load keyboard scripts

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kgrandon, Assigned: kgrandon)

References

Details

(Keywords: perf, Whiteboard: [c= p=1 s= u=])

Attachments

(1 file)

46 bytes, text/x-github-pull-request
arthurcc
: review+
Details | Review
Several keyboard scripts were added to settings startup here: https://github.com/mozilla-b2g/gaia/commit/08901c788a3a4bd3efda5853d7ee9c8f6d04cf50 These are only utilized by keyboard.js currently which is loaded as a subpanel. We should fix some of the performance regression if we lazy load these files.
Attached file Github pull request
Hi Arthur - Anything bad about deferring these scripts until the keyboard panel loads?
Attachment #823921 - Flags: review?(arthur.chen)
Comment on attachment 823921 [details] [review] Github pull request It's fine to load them until the keyboard panels loaded. r=me.
Attachment #823921 - Flags: review?(arthur.chen) → review+
Status: ASSIGNED → 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: