Modify ↓
Ticket #7097 (closed feature: invalid)
Using assignment '=' in if statement of JQuery library file
| Reported by: | nalleniv | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.4.3 |
| Component: | misc | Version: | 1.4.2 |
| Keywords: | assignment, =, == | Cc: | |
| Blocking: | Blocked by: |
Description
Did you intend to write an assignment in these statements with single '=' vs. double '=='?
Line 2800: if ( (match = Expr.leftMatch[ type ].exec( expr )) ) { Line 2940: if ( (elem = checkSet[i]) ) {
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Yes. In the future, please use the jQuery Forum if you have questions about the library.