Create jQuery.holdReady(true/false) method to encapsulate jQuery.readyWait++ / jQuery...
commit14193e449efe76105df61d745ebd7031dd7fe783
authorDave Methvin <dave.methvin@gmail.com>
Thu, 3 Feb 2011 02:57:44 +0000 (2 21:57 -0500)
committerDave Methvin <dave.methvin@gmail.com>
Thu, 7 Apr 2011 15:26:42 +0000 (7 11:26 -0400)
tree7e815de898328446c0e2c1bcf99840d36de1da9e
parentbbd9c776ea22296a6807d5b760bd4e82ee5f4414
Create jQuery.holdReady(true/false) method to encapsulate jQuery.readyWait++ / jQuery.ready(true) logic. Fix problem where jQuery.ready may trigger twice, causing the (unsupported) document.onready to run twice. Fixes #8803 .
src/core.js
test/data/readywaitloader.js
test/readywait.html