<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1857,7 +1857,7 @@ jQuery.event = {
 				var val;
 
 				// Handle the second event of a trigger and when
-				// an event is called after a page has unloaded
+				// an event is called after a page has unload
 				if ( typeof jQuery == &quot;undefined&quot; || jQuery.event.triggered )
 					return val;
 		
@@ -2282,7 +2282,7 @@ jQuery.extend({
 	readyList: [],
 	// Handle when the DOM is ready
 	ready: function() {
-		// Make sure that the DOM is not already loaded
+		// Make sure that the DOM is not already load
 		if ( !jQuery.isReady ) {
 			// Remember that the DOM is ready
 			jQuery.isReady = true;
@@ -2347,7 +2347,7 @@ function bindReady(){
 		var numStyles;
 		(function(){
 			if (jQuery.isReady) return;
-			if ( document.readyState != &quot;loaded&quot; &amp;&amp; document.readyState != &quot;complete&quot; ) {
+			if ( document.readyState != &quot;load&quot; &amp;&amp; document.readyState != &quot;complete&quot; ) {
 				setTimeout( arguments.callee, 0 );
 				return;
 			}
@@ -2641,7 +2641,7 @@ jQuery.extend({
 				// Attach handlers for all browsers
 				script.onload = script.onreadystatechange = function(){
 					if ( !done &amp;&amp; (!this.readyState || 
-							this.readyState == &quot;loaded&quot; || this.readyState == &quot;complete&quot;) ) {
+							this.readyState == &quot;load&quot; || this.readyState == &quot;complete&quot;) ) {
 						done = true;
 						success();
 						complete();</diff>
      <filename>lib/jquery-1.2.3.js</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
-$(Screw).bind('loaded', function() {
+$(Screw).bind('load', function() {
   $('.status').fn({
     display: function() {
       $(this).text(
@@ -32,6 +32,7 @@ $(Screw).bind('loaded', function() {
     },
     run: function() {
       try {
+        // TESTME
         $(this)
           .fn('parent').fn('run_befores');
         $(this).data('screwunit.run')();
@@ -58,10 +59,10 @@ $(Screw).bind('loaded', function() {
     run: function() { $(this).data('screwunit.run')() }
   });
 
-  $('.status').text('Running...');
+  $(Screw).trigger('before');
   var to_run = unescape(location.search.slice(1)) || 'body &gt; .describes &gt; .describe';
   $(to_run)
     .focus()
     .fn('enqueue');
-  $(Screw).queue(function() { $('.status').fn('display') });
+  $(Screw).queue(function() { $(Screw).trigger('after') });
 });
\ No newline at end of file</diff>
      <filename>lib/screw.behaviors.js</filename>
    </modified>
    <modified>
      <diff>@@ -12,7 +12,7 @@ var Screw = {
           .append($('&lt;ul class=&quot;describes&quot;&gt;'))
       );
       fn.call(this, Screw.Matchers, Screw.Specifications);
-      $(Screw).trigger('loaded');
+      $(Screw).trigger('load');
     });
   },
   Specifications: {</diff>
      <filename>lib/screw.builder.js</filename>
    </modified>
    <modified>
      <diff>@@ -1,28 +1,35 @@
-$(Screw).bind('loaded', function() {    
-  $('.describe, .it')
-    .click(function() {
-      document.location = location.href.split('?')[0] + '?' + $(this).fn('selector');
-      return false;
-    })
-    .focus(function() {
-      $('body').get(0).scrollTop = $(this).offset().top;
-      return $(this).addClass('focused');
-    });
+$(Screw)
+  .bind('load', function() {    
+    $('.describe, .it')
+      .click(function() {
+        document.location = location.href.split('?')[0] + '?' + $(this).fn('selector');
+        return false;
+      })
+      .focus(function() {
+        $('body').get(0).scrollTop = $(this).offset().top;
+        return $(this).addClass('focused');
+      });
 
-  $('.it')
-    .bind('enqueued', function() {
-      $(this).addClass('enqueued');
-    })
-    .bind('running', function() {
-      $(this).addClass('running');
-    })
-    .bind('passed', function() {
-      $(this).addClass('passed');
-    })
-    .bind('failed', function(e, reason) {
-      $(this).addClass('failed');
-      $('&lt;p class=&quot;error&quot;&gt;')
-        .text(reason.toString())
-        .appendTo($(this));
-    })
-});
\ No newline at end of file
+    $('.it')
+      .bind('enqueued', function() {
+        $(this).addClass('enqueued');
+      })
+      .bind('running', function() {
+        $(this).addClass('running');
+      })
+      .bind('passed', function() {
+        $(this).addClass('passed');
+      })
+      .bind('failed', function(e, reason) {
+        $(this).addClass('failed');
+        $('&lt;p class=&quot;error&quot;&gt;')
+          .text(reason.toString())
+          .appendTo($(this));
+      })
+  })
+  .bind('before', function() {
+    $('.status').text('Running...');
+  })
+  .bind('after', function() {
+    $('.status').fn('display')
+  })
\ No newline at end of file</diff>
      <filename>lib/screw.events.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>dfbfdb4d8cb1268e4b203ecbb695fd210d969a0e</id>
    </parent>
  </parents>
  <author>
    <name>Nick Kallen</name>
    <email>nkallen@nick-kallens-computer-2.local</email>
  </author>
  <url>http://github.com/tobowers/screw-unit/commit/dbecda9cee5cc13f371fac712d995897aa7d5dad</url>
  <id>dbecda9cee5cc13f371fac712d995897aa7d5dad</id>
  <committed-date>2008-04-28T00:06:11-07:00</committed-date>
  <authored-date>2008-04-28T00:06:11-07:00</authored-date>
  <message>before and after test suite hooks</message>
  <tree>5cef4e200fb8a4701fdef938eb57e6bdbf946578</tree>
  <committer>
    <name>Nick Kallen</name>
    <email>nkallen@nick-kallens-computer-2.local</email>
  </committer>
</commit>
