I'm working on a JavaScript library which is currently in use by our websites (> 8000) Calling on BootStrap, which will reference some other library scripts when it is turned on.
Since our JavaScript library heavily uses jQuery, it is currently also included in bootstrapper.
This document.writeln used:
document.writeln ("& lt; script src = \" js \ / jquery-1.4.4.min.js \ "Type = \" text \ javascript \ "& gt; & lt; \ / script & gt;"); I know that document.writeln xHtml is not compliant and there are better solutions in it, but this is just the way it works well for all our websites and getting rid of the document. .writeln is not an option.
The problem is now that when a site already defines the lower version of jQuery, we struggle, therefore, we decided to redefine jQuery in our library:
document.writeln ("
Comments
Post a Comment