Ticket #7971 (closed enhancement: duplicate)
load() shouldn't add already referenced scripts
|Reported by:||pere.cil@…||Owned by:|
Suppose the following scenario:
- "document a" contains a reference to jquery, and a jquery plugin.
- "document b" contains a reference to jquery only
- "document a" loads "document b" via the load() method.
Now, the jquery instance of "document a" has been overwritten by the "document b"'s version, and the plugin loaded before on document a is not available anymore in the jquery object.