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)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wbamberg, Assigned: wbamberg)

Details

Attachments

(1 file)

The translator tutorial generates three warnings in the Builder.
Attachment #535443 - Flags: review?(warner-bugzilla)
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+
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.

Attachment

General

Created:
Updated:
Size: