Fixed #1959 by postponing ALL script evaluations till the html insertion is done...
authorDavid Serduke <davidserduke@gmail.com>
Mon, 10 Dec 2007 19:04:59 +0000 (19:04 +0000)
committerDavid Serduke <davidserduke@gmail.com>
Mon, 10 Dec 2007 19:04:59 +0000 (19:04 +0000)
commit9ea8017f86c48ab624fbdc0e55a79110d9c61a9f
tree506dfe2f190badcb0b9aca321a0038b79e49bd2f
parentf97f77c034dc62001a687c728bdfdc71a23bf6b8
Fixed #1959 by postponing ALL script evaluations till the html insertion is done. Before the code would immediately execute any scripts that weren't in subelements if no subelements prior had scripts in them (i.e. once any script was postponed they all were). This could cause inconsistent behavior. Since, at this time, we have to postpone some scripts it makes more sense to postpone them all.
src/core.js
test/unit/core.js