1. Declaration with value assignment
2. Declare loop variables and cache length inside of for() - this can
increase performance http://jsperf.com/caching-array-length/67 - caching
length outside of for() is slower in almost all results (all Firefox and
Safari, IE9 and some Chrome results)
3.
Hysterical!!! Thanks for that laugh!!!
On Dec 1, 2011 9:01 AM, Victor vkhomyac...@gmail.com wrote:
1. Declaration with value assignment
2. Declare loop variables and cache length inside of for() - this can
increase performance http://jsperf.com/caching-array-length/67 -
caching length
I have a list that I have added a sortable on when I drag a item to
the end of the list the positon or offset in the list moves back up
the list so I can never drag an item to the last item in the list. If
I have ghosting on as I drag the item to the bottom of the list the
ghosted image moves up