<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -308,7 +308,7 @@
   // Create a function bound to a given object (assigning 'this', and arguments,
   // optionally). Binding with arguments is also known as 'curry'.
   _.bind = function(func, context) {
-    if (!context) return func;
+    context = context || root;
     var args = _.toArray(arguments).slice(2);
     return function() {
       var a = args.concat(_.toArray(arguments));</diff>
      <filename>underscore.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b5920e94a3221bbd8c6146d9839408030eb1922a</id>
    </parent>
  </parents>
  <author>
    <name>Jeremy Ashkenas</name>
    <email>jashkenas@gmail.com</email>
  </author>
  <url>http://github.com/documentcloud/underscore/commit/ef35fe1d861252bdd905611c877985d3b82232b8</url>
  <id>ef35fe1d861252bdd905611c877985d3b82232b8</id>
  <committed-date>2009-11-07T20:17:27-08:00</committed-date>
  <authored-date>2009-11-07T20:17:27-08:00</authored-date>
  <message>allowing bind with undefined contexts, but with arguments</message>
  <tree>50d06878519b787c3a9dd3e7445b34fdcea487cf</tree>
  <committer>
    <name>Jeremy Ashkenas</name>
    <email>jashkenas@gmail.com</email>
  </committer>
</commit>
