Bug Tracker

Changeset 2819

Show
Ignore:
Timestamp:
08/21/07 07:00:06 (1 year ago)
Author:
jeresig
Message:

You can now assign jQuery to random namespaces - very cool. (Bug #1393)

Location:
trunk/jquery/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/jquery/src/intro.js

    r2818 r2819  
    11// prevent execution of jQuery if included more than once 
    2 if(typeof window.jQuery == "undefined") (function(){ 
     2if ( typeof jQuery == "undefined" ) (function(){ 
  • trunk/jquery/src/jquery/jquery.js

    r2818 r2819  
    2020 * @cat Core 
    2121 */ 
    22 window.jQuery = function(a,c) { 
     22var jQuery = window.jQuery = function(a,c) { 
    2323    // If the context is global, return a new object 
    2424    if ( window == this || !this.init )