Changeset 1546 for trunk/Docs/Plugins/Group.md
- Timestamp:
- 05/05/08 10:36:32 (1 week ago)
- Files:
-
- 1 modified
-
trunk/Docs/Plugins/Group.md (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Docs/Plugins/Group.md
r1464 r1546 23 23 24 24 var group = new Group(xhr1, xhr2, xhr3); 25 group.addEvent(' onComplete', function(){25 group.addEvent('complete', function(){ 26 26 alert('All Scripts loaded'); 27 27 }); … … 44 44 ### Arguments: 45 45 46 1. type - (*string*) The event name (e.g. ' onComplete') to add.46 1. type - (*string*) The event name (e.g. 'complete') to add. 47 47 2. fn - (*function*) The callback function to execute when all instances fired this event. 48 48