iamnoah / writeCapture

Utility to assist the Ajax loading of HTML containing script tags that use document.write. Mailing List: http://groups.google.com/group/writecapturejs-users
http://iamnoah.github.com/writeCapture
Other
241 stars 38 forks source link

nolib fix and IE fix #31

Closed brewt closed 13 years ago

brewt commented 13 years ago

When using nolib, if scripts in doc.writes don't work since the code is case sensitive. Just turn on case insensitivity with the regex to fix it.

Didn't bother to investigate further, but it seems IE goes into the code path that excutes doXDomainLoad() with target being a string. However, the code treats "target" as a DOM object. The patch turns "target" into an object before using it.

iamnoah commented 13 years ago

Thanks!