Bug Tracker

Changeset 4207

Show
Ignore:
Timestamp:
12/17/07 17:39:50 (1 year ago)
Author:
joern.zaefferer
Message:

Test for #2069

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jquery/test/unit/event.js

    r4162 r4207  
    264264    }).click().click().click(); 
    265265}); 
     266 
     267test("jQuery(function($) {})", function() { 
     268    stop(); 
     269    jQuery(function($) { 
     270        equals(jQuery, $, "ready doesn't provide an event object, instead it provides a reference to the jQuery function, see http://docs.jquery.com/Events/ready#fn"); 
     271        start(); 
     272    }); 
     273});