Closed Bug 1170456 Opened 10 years ago Closed 10 years ago

[Calendar] fix remain jsdoc error

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gasolin, Assigned: me, Mentored)

References

Details

(Whiteboard: good-first-bug, zh)

Attachments

(3 files)

Since bug 1151765 has landed and support es6 syntax for jsdoc parsing, there're still some syntax issues not resolved in gaia. We could solve jsdoc issues per-app.
I would like to work on it, can you assigned me on it ?
Thanks for interesting in solving this issue. First you need run `npm install` in gaia repo to get up-to-date packages. Then run command `gulp jsdoc:calendar` to make sure everything works. You can remove exclude files from jsdoc.json, fix the file and run the command again to check if jsdoc is actually fixed.
Assignee: nobody → me
Status: NEW → ASSIGNED
OK, i succeed to launch JSDoc on calendar, all of the warnings comes from non-support ES6 in JSDoc. Do you have an idea how i can manage these warnings ?
Flags: needinfo?(gasolin)
Warning is not relevant. Please try to remove exclude files from calendar's jsdoc.json, and see if any error showed in console log.
Flags: needinfo?(gasolin)
Attached file PR, review
Bug 1170456 - [Calendar] fix remain jsdoc error #30710 "https://github.com/mozilla-b2g/gaia/pull/30710"
Attachment #8626207 - Flags: review?(gasolin)
Comment on attachment 8626207 [details] [review] PR, review Thanks for provide fixes, the jsdoc fix part looks good to me. Regarding the maintenance part, Please use rebase instead of merge so there's no extra merge log in gaia tree. And please squash your PR to single commit. After fixing the issue, you could request review with gaye@mozilla.com who is the module owner of calendar app. https://wiki.mozilla.org/Modules/FirefoxOS
Attachment #8626207 - Flags: review?(gasolin)
Bug 1170456 - [Calendar] fix remain jsdoc error R=romainloisel #30724 "https://github.com/mozilla-b2g/gaia/pull/30724"
Attachment #8626599 - Flags: review?(gaye)
Gaye, could you review my PR ?
Comment on attachment 8626599 [details] [review] Bug 1170456 - [Calendar] fix remain jsdoc error R=romainloisel #30724 gaye is now out of office, transfer the review to Miller.
Attachment #8626599 - Flags: review?(gaye) → review?(mmedeiros)
Comment on attachment 8626599 [details] [review] Bug 1170456 - [Calendar] fix remain jsdoc error R=romainloisel #30724 landed on master, sorry for the huge delay on the review: https://github.com/mozilla-b2g/gaia/commit/6dfeea505ce6efb3d139402c33b0695e247df9b6
Attachment #8626599 - Flags: review?(mmedeiros) → review+
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

Creator:
Created:
Updated:
Size: