diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2006-09-15 14:51:55 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2006-09-15 14:51:55 +0000 |
commit | 770a92a594a803486a66603a67f559ff15915d8b (patch) | |
tree | 56c256e9b6c3906a620d7ba0875cda3fc1a8cf03 /src/intro.js | |
parent | ea53a61a38ecdddaea6f344fcaf74bfe1d37397c (diff) | |
download | jquery-770a92a594a803486a66603a67f559ff15915d8b.tar.gz jquery-770a92a594a803486a66603a67f559ff15915d8b.zip |
Fixed bug #147, required some (ugly) modifications: changed function jQuery(...){} to jQuery = function(...){}, necessary because IE parses all function name(){} declarations before executing inline code; added intro.js and outro.js to both build.xml (tested) and Makefile (not tested) to include "if(typeof window.jQuery == "undefined") { ... }
Diffstat (limited to 'src/intro.js')
-rw-r--r-- | src/intro.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intro.js b/src/intro.js new file mode 100644 index 000000000..c26ac36cf --- /dev/null +++ b/src/intro.js @@ -0,0 +1,2 @@ +/* prevent execution of jQuery if included more then once */
+if(typeof window.jQuery == "undefined") {
|