Closed
Bug 660065
Opened 14 years ago
Closed 14 years ago
Translator tutorial generates warnings in the Builder
Categories
(Add-on SDK Graveyard :: Documentation, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wbamberg, Assigned: wbamberg)
Details
Attachments
(1 file)
1.98 KB,
patch
|
warner
:
review+
|
Details | Diff | Splinter Review |
The translator tutorial generates three warnings in the Builder.
Attachment #535443 -
Flags: review?(warner-bugzilla)
Comment 1•14 years ago
|
||
Comment on attachment 535443 [details] [diff] [review]
Fix those warnings
looks good
Note to self: false==0 because of type coercion, and (1-1)===0 by the rules
of the JS Number type's strictly-equal operator. (Python's number objects
have different rules, and intern small ones, and intern numeric literals, so
'1+1 is 1+1' and '12345 is 12345' are true, but '12345+1 is 12345+1' is
false. Nobody uses 'is' on python numbers.)
Attachment #535443 -
Flags: review?(warner-bugzilla) → review+
Assignee | ||
Comment 2•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•