Opened 10 years ago
Closed 10 years ago
#9326 closed bug (notabug)
Please comment the code in draggable!
Reported by: | mwaha | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.draggable | Version: | 1.10.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I am in awe of the person(s) who wrote this. But I might be even more in awe if they had the skills to explain to me what is going on here. Tell the story, please, as if I didn't already write the code myself :) Draggable's scroll, scroll, and stack, for example, have not a single code comment. Not one!
It would great if there were an effort made towards making this code self-documenting. It would disseminate awareness, which would in turn help with contributions. This goes for JQUI overall, whose code commenting lags way behind that of JQ proper.
Thanks for all the hard work.
Note: See
TracTickets for help on using
tickets.
General issues like this won't be tracked here. Draggable is currently undergoing a complete rewrite anyway. You can view the code at https://github.com/jquery/jquery-ui/blob/interactions/ui/jquery.ui.draggable.js