7 | | * Removed the {} fallback when calling jQuery.event.fix, event.type is used in the next line, so IF you were to fall on the last case, the next line would alert 'event.type is not defined' seems like the 3rd case can't be reached. |
8 | | * Avoided the need for Array.prototype.slice.call( arguments, 1 ) and args.unshift(). |
9 | | * Replaced args[0] for event when looping through the handlers, those were 2 array lookups per handler. |
10 | | * Same for the namespace (parts). |
11 | | * Simplified the val/ret part, ret is not needed and the code is now shorter. |
12 | | * The forced call to preventDefault and stopPropagation is only checked and done once, after the loop. |
| 7 | * Removed the {} fallback when calling jQuery.event.fix, event.type is used in the next line, so IF you were to fall on the last case, the next line would alert 'event.type is not defined' seems like the 3rd case can't be reached. |
| 8 | * Avoided the need for Array.prototype.slice.call( arguments, 1 ) and args.unshift(). |
| 9 | * Replaced args[0] for event when looping through the handlers, those were 2 array lookups per handler. |
| 10 | * Same for the namespace (parts). |
| 11 | * Simplified the val/ret part, ret is not needed and the code is now shorter. |
| 12 | * The forced call to preventDefault and stopPropagation is only checked and done once, after the loop. |