Closed Bug 999520 Opened 10 years ago Closed 10 years ago

Update keyboard app's dismiss method to work on v1.3 too

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect)

Other
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bsilverberg, Unassigned)

Details

Attachments

(1 file)

The dismiss method of the keyboard app is using Javascript that is incompatible with v1.3. This bug is to create a version that will work on v1.3 and above.
Attachment #8410377 - Flags: review?(zcampbell)
Attachment #8410377 - Flags: review?(florin.strugariu)
Attachment #8410377 - Flags: review?(dave.hunt)
Attachment #8410377 - Flags: review?(andrei.hutusoru)
Comment on attachment 8410377 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/18536

I added a comment about potentially simplifying the code, but r=me with or without this change. I haven't run any tests though, but I'm guessing you have. :)
Attachment #8410377 - Flags: review?(dave.hunt) → review+
Comment on attachment 8410377 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/18536

r+
I will hold off on the merge in event you want to tweak the syntax
Attachment #8410377 - Flags: review?(zcampbell) → review+
Attachment #8410377 - Flags: review?(florin.strugariu) → review+
I will update the PR this afternoon so it can be merged. Thanks for the reviews everyone!
The PR has been updated. This is ready to merge.
Attachment #8410377 - Flags: review?(andrei.hutusoru)
I was about to merge but now the indentation looks quite busted :/
(In reply to Zac C (:zac) from comment #6)
> I was about to merge but now the indentation looks quite busted :/

See the PR comments. This is a multi-line string, which means it preserves white-space. For the indentation to be correct as JavaScript it is reset to column 0.
OK I did not know that, thanks!

Merged:
https://github.com/mozilla-b2g/gaia/commit/5e55e256dbabab5b9d7fadf18ea80e89695d9f94
Status: NEW → 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: