jasmine.JQuery.elementToString reloads <script> tags #28

gfredericks opened this Issue Jul 17, 2011 · 2 comments

2 participants


The $("<div />").append(...) tactic used in jasmine.JQuery.elementToString will cause any <script> tags that happened to have been matched to be reloaded by the browser.

The reason a <script> tag may have been matched is that the <html> tag may have been matched, for example:


If nothing else, I expect this would be satisfactory:



Can you make some tests please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment