[Python-Dev] [Python-checkins] r88914 - tracker/instances/python-dev/html/issue.item.js (original) (raw)

Ezio Melotti ezio.melotti at gmail.com
Thu Oct 27 06:06:02 CEST 2011


Hi,

On 26/10/2011 12.39, Berker Peksağ wrote:

Hi, I think this is shorter than $(document).ready();

$(function() { // ... }); See: http://stackoverflow.com/questions/3528509/document-readyfunction-vs-function/3528528#3528528

Thanks a lot for the review, I didn't know about this shortcut! However I think I'll just leave $(document).ready(...); because, even if longer, is more explicit and readable.

Best Regards, Ezio Melotti

--Berker



More information about the Python-Dev mailing list