Modify ↓
Ticket #4312 (closed enhancement: fixed)
Math.x is necessary??
| Reported by: | roviury | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | unfiled | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
if define "cos=Math.cos", it can speed up in IE!! eg. var max=Math.max, round=Math.round, cos=Math.cos, PI=Math.PI;
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.

This is used in several places in jQuery now.