<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -19,13 +19,6 @@ var jQuery = window.jQuery = function( selector, context ) {
 	return new jQuery.prototype.init( selector, context );
 };
 
-// Map over the $ in case of overwrite
-if ( window.$ )
-	var _$ = window.$;
-	
-// Map the jQuery namespace to the '$' one
-window.$ = jQuery;
-
 // A simple way to check for HTML strings or ID strings
 // (both of which we optimize for)
 var quickExpr = /^[^&lt;]*(&lt;(.|\s)+&gt;)[^&gt;]*$|^#(\w+)$/;</diff>
      <filename>lib/jquery-1.2.3.js</filename>
    </modified>
    <modified>
      <diff>@@ -36,7 +36,7 @@ Screw.Mock = (function () {
         var element = opts.element || jQuery(&quot;#dom_test&quot;);
         
         element = jQuery(element);
-        if (!/\.html$/.test(mock)) {
+        if (!((/\.html$/).test(mock))) {
             mock += &quot;.html&quot;;
         }
         
@@ -96,6 +96,5 @@ Screw.Unit(function() {
         if (jQuery(&quot;#dom_test&quot;)) {
             jQuery('#dom_test').empty();
         }
-        Screw.Prototype.Ajax.reset();
     });
 });</diff>
      <filename>lib/screw.mock.js</filename>
    </modified>
    <modified>
      <diff>@@ -97,9 +97,6 @@ Screw.Prototype.Ajax = (function () {
 
 Screw.Unit(function() {
     before(function() {
-        if (jQuery(&quot;#dom_test&quot;)) {
-            jQuery('#dom_test').empty();
-        }
         Screw.Prototype.Ajax.reset();
     });
 });</diff>
      <filename>lib/screw.prototype.js</filename>
    </modified>
    <modified>
      <diff>@@ -2,33 +2,33 @@ Screw.Matchers.argWhichWill = function(matcher, expected) {
   return new Screw.Stub.ArgumentMatcher(matcher, expected);
 };
 
-Screw.Stub = (function($) {
+Screw.Stub = (function() {
     var self = {};
     var stubbedObjects = [];
 
-    var base = function(obj, name, private) {
-        private = private || {};
+    var base = function(obj, name, priv) {
+        priv = priv || {};
         var self = {};
 
-        private.returnVal = null;
-        private.functionWasCalled = function() {};
+        priv.returnVal = null;
+        priv.functionWasCalled = function() {};
 
         self = function(receiver, args) {
-            private.functionWasCalled();
+            priv.functionWasCalled();
             
-            if (private.implementation)
-              return private.implementation.apply(receiver, args);
+            if (priv.implementation)
+              return priv.implementation.apply(receiver, args);
             else
-              return private.returnVal;
+              return priv.returnVal;
         };
 
         self.andReturn = function(val) {
-            private.returnVal = val;
+            priv.returnVal = val;
             return self;
         };
         
         self.as = function(implementation) {
-            private.implementation = implementation;
+            priv.implementation = implementation;
             return self;
         };
 
@@ -45,36 +45,36 @@ Screw.Stub = (function($) {
     };
 
     var shouldReceive = function(obj, name) {
-        var private = {};
-        var self = base(obj, name, private);
+        var priv = {};
+        var self = base(obj, name, priv);
 
-        private.expectedCallCount = 1;
-        private.actualCallCount = 0;
-        private.validated = false;
-        private.expectedArguments;
+        priv.expectedCallCount = 1;
+        priv.actualCallCount = 0;
+        priv.validated = false;
+        priv.expectedArguments;
 
-        private.functionWasCalled = function() {
-            private.actualCallCount += 1;
+        priv.functionWasCalled = function() {
+            priv.actualCallCount += 1;
         };
 
         self.numberOfTimes = function(count) {
-            private.expectedCallCount = count;
+            priv.expectedCallCount = count;
             return self;
         };
 
         self.withArguments = function() {
-            private.expectedArguments = arguments;
+            priv.expectedArguments = arguments;
             return self;
         };
 
         self.accepts = function(args) {
-            if (!private.expectedArguments) {
+            if (!priv.expectedArguments) {
                 return true;
-            } else if (args.length !== private.expectedArguments.length) {
+            } else if (args.length !== priv.expectedArguments.length) {
                 return false;
             } else {
                 for (var i=0; i &lt; args.length; i++) {
-                    var expected = private.expectedArguments[i];
+                    var expected = priv.expectedArguments[i];
                     var actual = args[i];
                     if (expected instanceof Screw.Stub.ArgumentMatcher) {
                         if (!expected.matcher.match(expected.expected, actual))
@@ -88,12 +88,12 @@ Screw.Stub = (function($) {
         };
 
         self.validate = function() {
-            if (!private.validated &amp;&amp; private.expectedCallCount !== private.actualCallCount) {
-                private.validated = true;
-                throw('expected ' + $.print(name) + ' to be called ' + 
-                      private.expectedCallCount.toString() + 
+            if (!priv.validated &amp;&amp; priv.expectedCallCount !== priv.actualCallCount) {
+                priv.validated = true;
+                throw('expected ' + jQuery.print(name) + ' to be called ' + 
+                      priv.expectedCallCount.toString() + 
                       ' times, but it was called ' + 
-                      private.actualCallCount.toString() + ' times.');
+                      priv.actualCallCount.toString() + ' times.');
             }
         };
 
@@ -106,8 +106,8 @@ Screw.Stub = (function($) {
     };
 
     var stubReceiver = function(obj, name) {
-        var private = {};
-        private.oldVal = obj[name];
+        var priv = {};
+        priv.oldVal = obj[name];
 
         var self = function() {
             for(var i=0; i &lt; self.stubs.length; i++) {
@@ -117,10 +117,10 @@ Screw.Stub = (function($) {
                 }
             }
 
-            if (private.oldVal.constructor === Function) {
-                return private.oldVal.apply(obj, arguments);
+            if (priv.oldVal.constructor === Function) {
+                return priv.oldVal.apply(obj, arguments);
             } else {
-                return private.oldVal;
+                return priv.oldVal;
             }
         };
 
@@ -131,10 +131,10 @@ Screw.Stub = (function($) {
                   stub.validate();
                 }
             }
-        }
+        };
 
         self.reset = function() {
-            obj[name] = private.oldVal;
+            obj[name] = priv.oldVal;
         };
 
         self.stubs = [];
@@ -146,7 +146,7 @@ Screw.Stub = (function($) {
     self.shouldReceive = function(obj, name) {
         stubReceiver(obj, name);
         return shouldReceive(obj, name);
-    }
+    };
 
     self.stub = function(obj, name) {
         stubReceiver(obj, name);
@@ -175,7 +175,7 @@ Screw.Stub = (function($) {
     };
 
     return self;
-}(jQuery));
+}());
 
 Screw.Unit(function() {
     after(function() {</diff>
      <filename>lib/screw.stub.js</filename>
    </modified>
    <modified>
      <diff>@@ -160,16 +160,16 @@ Screw.Unit(function() {
     describe(&quot;#selector&quot;, function() {
       describe('a [describe]', function() {
         it('manufactures a CSS selector that uniquely locates the [describe]', function() {
-          $('.describe').each(function() {
-            expect($($(this).fn('selector')).get(0)).to(equal, $(this).get(0))
+          jQuery('.describe').each(function() {
+            expect(jQuery(jQuery(this).fn('selector')).get(0)).to(equal, jQuery(this).get(0))
           });
         });
       });
 
       describe('an [it]', function() {
         it('manufactures a CSS selector that uniquely locates the [it]', function() {
-          $('.it').each(function() {
-            expect($($(this).fn('selector')).get(0)).to(equal, $(this).get(0))
+          jQuery('.it').each(function() {
+            expect(jQuery(jQuery(this).fn('selector')).get(0)).to(equal, jQuery(this).get(0))
           });
         });
       });</diff>
      <filename>spec/behaviors_spec.js</filename>
    </modified>
    <modified>
      <diff>@@ -190,7 +190,7 @@ Screw.Unit(function() {
     describe('#match_selector', function() {
       var elt;
       before(function() {
-        elt = $(&quot;&lt;div class='foo'&gt;&lt;/div&gt;&quot;);
+        elt = jQuery(&quot;&lt;div class='foo'&gt;&lt;/div&gt;&quot;);
       });
 
       it(&quot;matches a jQuery element against the expected selector&quot;, function() {
@@ -213,7 +213,7 @@ Screw.Unit(function() {
     describe('#contain_selector', function() {
       var elt;
       before(function() {
-        elt = $(&quot;&lt;div&gt;&lt;div class='foo'&gt;&lt;/div&gt;&lt;/div&gt;&quot;);
+        elt = jQuery(&quot;&lt;div&gt;&lt;div class='foo'&gt;&lt;/div&gt;&lt;/div&gt;&quot;);
       });
 
       it(&quot;matches a jQuery element against the expected selector&quot;, function() {</diff>
      <filename>spec/matchers_spec.js</filename>
    </modified>
    <modified>
      <diff>@@ -2,115 +2,115 @@ Screw.Unit(function() {
   describe(&quot;Print&quot;, function() {
     describe('when given undefined', function() {
       it(&quot;returns 'undefined'&quot;, function() {
-        expect($.print(undefined)).to(equal, 'undefined');
+        expect(jQuery.print(undefined)).to(equal, 'undefined');
       });
     });
     
     describe('when given null', function() {
       it(&quot;returns 'null'&quot;, function() {
-        expect($.print(null)).to(equal, 'null');
+        expect(jQuery.print(null)).to(equal, 'null');
       });
     });
     
     describe('when given a number', function() {
       it(&quot;returns the string representation of the number&quot;, function() {
-        expect($.print(1)).to(equal, '1');
-        expect($.print(1.01)).to(equal, '1.01');
-        expect($.print(-1)).to(equal, '-1');
+        expect(jQuery.print(1)).to(equal, '1');
+        expect(jQuery.print(1.01)).to(equal, '1.01');
+        expect(jQuery.print(-1)).to(equal, '-1');
       });
     });
     
     describe('when given a boolean', function() {
       it(&quot;returns the string representation of the boolean&quot;, function() {
-        expect($.print(true)).to(equal, 'true');
-        expect($.print(false)).to(equal, 'false');
+        expect(jQuery.print(true)).to(equal, 'true');
+        expect(jQuery.print(false)).to(equal, 'false');
       });
     });
     
     describe('when given a string', function() {
       it(&quot;returns the string, quoted&quot;, function() {
-        expect($.print('asdf')).to(equal, '&quot;asdf&quot;');
+        expect(jQuery.print('asdf')).to(equal, '&quot;asdf&quot;');
       });
       
       describe('when the string is longer than the [max_string] option', function() {
         it(&quot;returns the string, truncated&quot;, function() {
-          expect($.print('asdf', { max_string: 3 })).to(equal, '&quot;asd...&quot;');
+          expect(jQuery.print('asdf', { max_string: 3 })).to(equal, '&quot;asd...&quot;');
         });        
       });
       
       describe('when the strings has quotes or escaped characters', function() {
         it(&quot;returns the string, with quotes and escaped characters escaped&quot;, function() {
-          expect($.print('as&quot;df')).to(equal, '&quot;as\\&quot;df&quot;');
-          expect($.print('as\tdf')).to(equal, '&quot;as\\tdf&quot;');
+          expect(jQuery.print('as&quot;df')).to(equal, '&quot;as\\&quot;df&quot;');
+          expect(jQuery.print('as\tdf')).to(equal, '&quot;as\\tdf&quot;');
         });        
       });
     });
     
     describe('when given a function', function() {
       it(&quot;returns the function's signature&quot;, function() {
-        expect($.print(function() {})).to(match, /function\s*\(\)/);
-        expect($.print(function foo() {})).to(match, /function\s*foo\(\)/);
-        expect($.print(function foo(bar) {})).to(match, /function\s*foo\(bar\)/);
+        expect(jQuery.print(function() {})).to(match, /function\s*\(\)/);
+        expect(jQuery.print(function foo() {})).to(match, /function\s*foo\(\)/);
+        expect(jQuery.print(function foo(bar) {})).to(match, /function\s*foo\(bar\)/);
       });        
     });
 
     describe('when given an element', function() {
       it(&quot;returns the string representation of the element&quot;, function() {
-        expect($.print($('&lt;div&gt;&lt;/div&gt;').get(0))).to(equal, '&lt;div&gt;');
-        expect($.print($('&lt;div foo=&quot;bar&quot;&gt;&lt;/div&gt;').get(0))).to(equal, '&lt;div&gt;');
+        expect(jQuery.print(jQuery('&lt;div&gt;&lt;/div&gt;').get(0))).to(equal, '&lt;div&gt;');
+        expect(jQuery.print(jQuery('&lt;div foo=&quot;bar&quot;&gt;&lt;/div&gt;').get(0))).to(equal, '&lt;div&gt;');
       });
     });
 
     describe('when given an array', function() {
       it(&quot;returns the printed elements, comma separated, encircled by square brackets&quot;, function() {
-        expect($.print([])).to(equal, '[]');
-        expect($.print([1])).to(equal, '[ 1 ]');
-        expect($.print([1, 2, 3])).to(equal, '[ 1, 2, 3 ]');
+        expect(jQuery.print([])).to(equal, '[]');
+        expect(jQuery.print([1])).to(equal, '[ 1 ]');
+        expect(jQuery.print([1, 2, 3])).to(equal, '[ 1, 2, 3 ]');
       });
       
       describe('when the array is longer than the [max_array] option', function() {
         it(&quot;returns the printed array, truncated&quot;, function() {
-          expect($.print([1, 2, 3, 4], { max_array: 2 })).to(equal, '[ 1, 2, 2 more... ]');
+          expect(jQuery.print([1, 2, 3, 4], { max_array: 2 })).to(equal, '[ 1, 2, 2 more... ]');
         });
       });
       
       describe('when the array has arrays as its elements', function() {
         it(&quot;returns the recursively printed array&quot;, function() {
-          expect($.print([[]])).to(equal, '[ [] ]');
-          expect($.print([ [1, 2, 3], 4 ])).to(equal, '[ [ 1, 2, 3 ], 4 ]');
+          expect(jQuery.print([[]])).to(equal, '[ [] ]');
+          expect(jQuery.print([ [1, 2, 3], 4 ])).to(equal, '[ [ 1, 2, 3 ], 4 ]');
         });
       });
 
       describe('when the array has objects as its elements', function() {
         it(&quot;returns recursively printed array&quot;, function() {
-          expect($.print([{}])).to(equal, '[ {} ]');
-          expect($.print([ { foo: 'bar' }, 'baz' ])).to(equal, '[ { foo: &quot;bar&quot; }, &quot;baz&quot; ]');
+          expect(jQuery.print([{}])).to(equal, '[ {} ]');
+          expect(jQuery.print([ { foo: 'bar' }, 'baz' ])).to(equal, '[ { foo: &quot;bar&quot; }, &quot;baz&quot; ]');
         });
       });
     });
 
     describe('when given a jQuery', function() {
-      it(&quot;returns the printed array of elements engirthed in '$()' &quot;, function() {
-        expect($.print($('&lt;div&gt;&lt;/div&gt;'))).to(equal, '$([ &lt;div&gt; ])');
+      it(&quot;returns the printed array of elements engirthed in 'jQuery()' &quot;, function() {
+        expect(jQuery.print(jQuery('&lt;div&gt;&lt;/div&gt;'))).to(equal, '$([ &lt;div&gt; ])');
       });
     });
     
     describe('when given an object', function() {
       it(&quot;returns the keys and values of the object, enraptured with curly braces&quot;, function() {
-        expect($.print({})).to(equal, '{}');
-        expect($.print({ foo: 1, bar: 2 })).to(equal, '{ foo: 1, bar: 2 }');
+        expect(jQuery.print({})).to(equal, '{}');
+        expect(jQuery.print({ foo: 1, bar: 2 })).to(equal, '{ foo: 1, bar: 2 }');
       });
       
       describe('when the values of the object are non-primitive', function() {
         it(&quot;recursively prints the keys and values&quot;, function() {
-          expect($.print({ foo: [1, 2] })).to(equal, '{ foo: [ 1, 2 ] }');
+          expect(jQuery.print({ foo: [1, 2] })).to(equal, '{ foo: [ 1, 2 ] }');
         });
         
         describe('when the object has circular references', function() {
           it(&quot;returns elipses for circularities&quot;, function() {
             var circular = {};
             circular[0] = circular;
-            expect($.print(circular)).to(equal, '{ 0: { 0: ... } }');
+            expect(jQuery.print(circular)).to(equal, '{ 0: { 0: ... } }');
           });
         });
       });</diff>
      <filename>spec/print_spec.js</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,9 @@
 &lt;html&gt;
   &lt;head&gt;
     &lt;script type=&quot;text/javascript&quot; src=&quot;../lib/jquery-1.2.3.js&quot;&gt;&lt;/script&gt;
+    &lt;script type=&quot;text/javascript&quot;&gt;
+      jQuery.noConflict();
+    &lt;/script&gt;
     &lt;script type=&quot;text/javascript&quot; src=&quot;../lib/jquery.fn.js&quot;&gt;&lt;/script&gt;
     &lt;script type=&quot;text/javascript&quot; src=&quot;../lib/jquery.print.js&quot;&gt;&lt;/script&gt;
     &lt;script type=&quot;text/javascript&quot; src=&quot;../lib/screw.builder.js&quot;&gt;&lt;/script&gt;
@@ -19,7 +22,6 @@
     &lt;script type=&quot;text/javascript&quot; src=&quot;stub_spec.js&quot;&gt;&lt;/script&gt;
     &lt;script type=&quot;text/javascript&quot; src=&quot;asynchronous_spec.js&quot;&gt;&lt;/script&gt;
     &lt;script type=&quot;text/javascript&quot; src=&quot;skipping_spec.js&quot;&gt;&lt;/script&gt;
-    &lt;script type=&quot;text/javascript&quot; src=&quot;print_spec.js&quot;&gt;&lt;/script&gt;
 
     &lt;script type=&quot;text/javascript&quot; src=&quot;prototype.js&quot;&gt;&lt;/script&gt;
     &lt;script type=&quot;text/javascript&quot; src=&quot;prototype_spec.js&quot;&gt;&lt;/script&gt;</diff>
      <filename>spec/suite.html</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>my_diff.diff</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>76abb4666bd8e2a8e15904ee7678444851791ef1</id>
    </parent>
  </parents>
  <author>
    <name>topper</name>
    <email>topper@toppingdesign.com</email>
  </author>
  <url>http://github.com/tobowers/screw-unit/commit/8f99702a93be160a91ecd7916ae62d36c2dbdafc</url>
  <id>8f99702a93be160a91ecd7916ae62d36c2dbdafc</id>
  <committed-date>2009-11-02T09:12:52-08:00</committed-date>
  <authored-date>2009-11-02T09:12:52-08:00</authored-date>
  <message>passing tests</message>
  <tree>d8558ec9d0186ec643472445b58400aab3a64fcd</tree>
  <committer>
    <name>topper</name>
    <email>topper@toppingdesign.com</email>
  </committer>
</commit>
