Closed Bug 923459 Opened 11 years ago Closed 11 years ago

[Messages] jshint fixes

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: julienw, Assigned: julienw)

References

Details

Attachments

(1 file, 2 obsolete files)

A WIP pull request is at https://github.com/mozilla-b2g/gaia/pull/12646.

Down to 44 errors !
6 errors left, that should be fixed in jshint.

Now I'll need to test the files that changed for more than nits, and I'll ask review after this.
Attached patch patch v1 (obsolete) — Splinter Review
Asking review from Rick for the whole stuff, and Yuren for the WBMP.js part, as it is the biggest change for a file in this patch, and I don't know how to trigger this code. Therefore Yuren, I'd love that you check that this still works as expected, and even better, that you provide a small unit test for this part ;)

Thanks !
Attachment #817892 - Flags: review?(yurenju.mozilla)
Attachment #817892 - Flags: review?(waldron.rick)
Comment on attachment 817892 [details] [diff] [review]
patch v1

Review of attachment 817892 [details] [diff] [review]:
-----------------------------------------------------------------

There are two notes on PR, once those are addressed: r=me


And thank you for doing all of this work :)
Attachment #817892 - Flags: review?(waldron.rick) → review+
Attached patch patch v2 (obsolete) — Splinter Review
Fixed an obvious error in WBMP.js for Yuren's review.

Carrying r=rwaldron with the nits fixed.

PR still at https://github.com/mozilla-b2g/gaia/pull/12646
Attachment #817892 - Attachment is obsolete: true
Attachment #817892 - Flags: review?(yurenju.mozilla)
Attachment #817945 - Flags: review?(yurenju.mozilla)
I started creating a test to test the wbmp decoder. Don't have time to finish it tonight.
Attached patch patch v3Splinter Review
Added a test for the wbmp decoder and subsequently fixed my changes in the wbmp implementation.

Rick, the PR https://github.com/mozilla-b2g/gaia/pull/12646 is uptodate, with 3 commits: the second one is the follow-ups you asked, the third one is my changes to wbmp.js and wbmp_test.js. Note that the added grid.png was simply created using ImageMagick from the existing grid.wbmp. Could you please review this last commit ?

Thanks !
Attachment #817945 - Attachment is obsolete: true
Attachment #817945 - Flags: review?(yurenju.mozilla)
Attachment #819439 - Flags: review?(waldron.rick)
Comment on attachment 819439 [details] [diff] [review]
patch v3

Great work :)
Attachment #819439 - Flags: review?(waldron.rick) → review+
master: 48599c4db185a973cbcb3b0d1606d663480f8c46

\o/
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: