Modify ↓
Ticket #4577 (closed bug: invalid)
qunit test running issue when being loaded after document is ready.
| Reported by: | madsmith | Owned by: | joern |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.4 |
| Component: | qunit | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
My company is using qunit and it's becoming available after the document is ready. As such, $(window).load does not fire and the test case does not run.
As per the jquery documentation, it appears that jQuery(document).ready() should have been used, instead of hooking on the window's load.
Will attach patch file.
Attachments
Change History
comment:1 Changed 4 years ago by madsmith
This is my first time interacting with this project, please forgive any errors in how the ticket was filed.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.


Patch for using .ready instead of .load to bootstrap testrunner