Closed Bug 1055498 Opened 10 years ago Closed 10 years ago

[Collection] [Refactor] Clean up create_collection.js

Categories

(Firefox OS Graveyard :: Gaia::Everything.me, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: amirn, Assigned: amirn)

References

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
kgrandon
: review+
Details | Review
The code changed a lot during v2.0 development.
There is duplication we need to remove, wrong use of Promises we need to fix and general clean up to do.
Assignee: nobody → amirn
Blocks: 1033641
Attached file Pull Request
Hi Kevin, can you take this quick review?
I mostly moved stuff around. Also fixed wrong usage of Promises and some styling.
Thanks!
Attachment #8475110 - Flags: review?(kgrandon)
Comment on attachment 8475110 [details] [review]
Pull Request

It looks like collection_offline_test.js is failing on this pull request. Can you try running this locally to verify if it's broken or not?
Attachment #8475110 - Flags: review?(kgrandon)
Comment on attachment 8475110 [details] [review]
Pull Request

(In reply to Kevin Grandon :kgrandon from comment #2)
> Comment on attachment 8475110 [details] [review]
> Pull Request
> 
> It looks like collection_offline_test.js is failing on this pull request.
> Can you try running this locally to verify if it's broken or not?

Fixed the test. Sorry about that ;)

(although, it will no longer be valid for bug 1033641. I will comment there)
Attachment #8475110 - Flags: review?(kgrandon)
Comment on attachment 8475110 [details] [review]
Pull Request

Seems good to me, thanks for cleaning it up!
Attachment #8475110 - Flags: review?(kgrandon) → review+
master: https://github.com/mozilla-b2g/gaia/commit/a9627e3
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: