Closed Bug 975971 Opened 10 years ago Closed 10 years ago

[keyboard refactor] Convert input_field.js/autocorrect.js/shiftkey.js to instantiable pattern

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: timdream, Assigned: timdream)

References

Details

(Whiteboard: [ucid:SystemPlatform47, 1.5, ft:system-platform])

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #975970 +++

We need input_field.js to be instantiable and started by another module.

Also jsdoc + unit test improvement wanted.
WIP
Assignee: nobody → timdream
It looks like these 3 files have dependency that must be fixed together.
Summary: [keyboard refactor] Convert input_field.js to instantiable pattern → [keyboard refactor] Convert input_field.js/autocorrect.js/shiftkey.js to instantiable pattern
Comment on attachment 8381327 [details] [review]
mozilla-b2g:master PR#16608

I didn't complete all JSDocs nor jshint check because I later realized we need to turn it on in pre-commit hook explicitly, so I will do it later in another pass.
Attachment #8381327 - Flags: review?(rlu)
Attachment #8381327 - Flags: feedback?(janjongboom)
Attachment #8381327 - Flags: feedback?(dflanagan)
Comment on attachment 8381327 [details] [review]
mozilla-b2g:master PR#16608

r+ with some nits need to be addressed.

Tim, thanks.
Attachment #8381327 - Flags: review?(rlu) → review+
Comment on attachment 8381327 [details] [review]
mozilla-b2g:master PR#16608

Test cases fixed and review comment addressed.
Status: NEW → ASSIGNED
Comment on attachment 8381327 [details] [review]
mozilla-b2g:master PR#16608

I am going to land this so work could continue on bug 975966.
Attachment #8381327 - Flags: feedback?(janjongboom)
Attachment #8381327 - Flags: feedback?(dflanagan)
master: https://github.com/mozilla-b2g/gaia/commit/7a3761a371f69b8bffd98de4ee4d7fd87bccaa8e
Status: ASSIGNED → RESOLVED
Closed: 10 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: