Permalink
Browse files

don't erase jQuery if it is already loaded !

  • Loading branch information...
Cerdic committed Dec 2, 2010
1 parent 232b50b commit fa904f2b946002cf0137887be8cf0f403650f3a8
Showing with 4 additions and 3 deletions.
  1. +3 −2 jQl.js
  2. +1 −1 jQl.min.js
View
5 jQl.js
@@ -34,7 +34,7 @@
* are run before inline scripts. But if some modules are longer to load and arrive
* after jQuery, they will be run after queued inline calls
*
- * v 1.1.1
+ * v 1.1.2
* (c) 29-11-2010 Cedric Morin licence GPL
*
*/
@@ -260,5 +260,6 @@ var jQl={
* $('document').ready(function(){...})
* jQuery('document').ready(function(){...})
*
+ * only if jQuery is not already loaded
*/
-var $=jQl.ready,jQuery=$;
+if (typeof window.jQuery=='undefined'){var $=jQl.ready,jQuery=$;}
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit fa904f2

Please sign in to comment.