Closed
Bug 369004
Opened 18 years ago
Closed 18 years ago
bootstrap cleanup and style fixes
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rhelmer, Assigned: rhelmer)
References
Details
Attachments
(1 file, 1 obsolete file)
73.35 KB,
patch
|
preed
:
review+
|
Details | Diff | Splinter Review |
* remove quotes from hash keys
* die is a function; use parens
* normalize alignment
* don't make $config global anywhere, it's implemented as a singleton
* remove or correct incorrect comments
Assignee | ||
Updated•18 years ago
|
Assignee: build → rhelmer
Assignee | ||
Comment 1•18 years ago
|
||
Attachment #254329 -
Flags: review?(preed)
Comment 2•18 years ago
|
||
I think we got confused on the quoting convention.
Hash keys that aren't variables *should* have quotes, so:
$foo{'bar'}
$foo{$bar}
but NOT $foo{bar}.
There's one exception: the args style passing; so,
MyFunction(foo => 'bar', foo2 => $barTwo)
Assignee | ||
Comment 3•18 years ago
|
||
Yeah I see your point, it's easier to read if these are obviously strings.
Attachment #254329 -
Attachment is obsolete: true
Attachment #254339 -
Flags: review?(preed)
Attachment #254329 -
Flags: review?(preed)
Comment 4•18 years ago
|
||
Comment on attachment 254339 [details] [diff] [review]
do not remove quotes from hash keys
Looks good; r=preed.
Attachment #254339 -
Flags: review?(preed) → review+
Assignee | ||
Updated•18 years ago
|
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•