Opened 16 years ago

Closed 16 years ago

#944 closed defect (invalid)

dojo.lang.find has a boolean 'identity' parameter which seems to run identical code blocks regardless of whether it is true or false.

Reported by: [email protected] Owned by: anonymous
Priority: high Milestone:
Component: General Version: 0.3
Keywords: Cc:
Blocked By: Blocking:


While browsing through the code I noticed that this function seems to run the exact same code regardless of the value of the 'identity' parameter and there seems to be no other use for the parameter.

Change History (1)

comment:1 Changed 16 years ago by bill

Resolution: invalid
Status: newclosed

The code is slightly different and is documented as such:

param: identity: If true, matches with identity comparison (===). If false, uses normal comparison (==).

Note: See TracTickets for help on using tickets.