Closed
Bug 689821
Opened 14 years ago
Closed 13 years ago
Clean up browser/components/preferences/sync.js
Categories
(Firefox :: Sync, enhancement)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: rnewman, Assigned: darkowlzz)
Details
Attachments
(1 file, 1 obsolete file)
|
3.01 KB,
patch
|
rnewman
:
review+
|
Details | Diff | Splinter Review |
This code could do with some love; even as simple as making it conform to *any* style guide.
| Reporter | ||
Updated•13 years ago
|
Whiteboard: [good first bug] → [good first bug][lang=js][mentor=rnewman]
| Assignee | ||
Comment 1•13 years ago
|
||
Hope this love is enough :)
Attachment #712683 -
Flags: review?(rnewman)
| Reporter | ||
Comment 2•13 years ago
|
||
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+
| Reporter | ||
Updated•13 years ago
|
Assignee: nobody → indiasuny000
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•13 years ago
|
||
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)
| Reporter | ||
Comment 4•13 years ago
|
||
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+
| Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
| Reporter | ||
Comment 5•13 years ago
|
||
Keywords: checkin-needed
Whiteboard: [good first bug][lang=js][mentor=rnewman]
Target Milestone: --- → mozilla21
Comment 6•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
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.
Description
•