Closed Bug 689821 Opened 14 years ago Closed 13 years ago

Clean up browser/components/preferences/sync.js

Categories

(Firefox :: Sync, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21

People

(Reporter: rnewman, Assigned: darkowlzz)

Details

Attachments

(1 file, 1 obsolete file)

This code could do with some love; even as simple as making it conform to *any* style guide.
Whiteboard: [good first bug] → [good first bug][lang=js][mentor=rnewman]
Hope this love is enough :)
Attachment #712683 - Flags: review?(rnewman)
Comment on attachment 712683 [details] [diff] [review] Gave some more love in the form of insertion of missing braces. Review of attachment 712683 [details] [diff] [review]: ----------------------------------------------------------------- N.B., you should have a # User line in your patch header. r+ with nits. Thanks! ::: browser/components/preferences/sync.js @@ +130,3 @@ > gSyncUtils.changePassword(); > + } > + else { } else { @@ +139,3 @@ > gSyncUtils.resetPassword(); > + } > + else { } else { @@ +144,5 @@ > }, > > /** > * Invoke the Sync setup wizard. > * Ooh! Trailing whitespace! :D @@ +160,1 @@ > else { } else { @@ +170,3 @@ > win.focus(); > + } > + else { } else { @@ +182,1 @@ > Trailing whitespace. @@ +185,3 @@ > win.focus(); > + } > + else { } else {
Attachment #712683 - Flags: review?(rnewman) → review+
Assignee: nobody → indiasuny000
Status: NEW → ASSIGNED
Added # User line. Moved all the |else| to their proper positions. Removed the white-spaces.
Attachment #712683 - Attachment is obsolete: true
Attachment #712869 - Flags: review?(rnewman)
Comment on attachment 712869 [details] [diff] [review] Gave some more love in the form of insertion of missing braces. Review of attachment 712869 [details] [diff] [review]: ----------------------------------------------------------------- Looks good! Thanks!
Attachment #712869 - Flags: review?(rnewman) → review+
Keywords: checkin-needed
Keywords: checkin-needed
Whiteboard: [good first bug][lang=js][mentor=rnewman]
Target Milestone: --- → mozilla21
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: