<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>Rakefile</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -205,11 +205,11 @@ define(Array, 'last', function() {
   * return value is a hash, where the keys are the values returned by
   * `fn` and the values are lists of elements with those keys.
   */
-define(Array, 'partitionBy', function(fn) {
+define(Array, 'partitionBy', function(fn, thisObject) {
     var partitions = {};
     for (var i = 0, len = this.length; i &lt; len; i++) {
         var item = this[i],
-            key = fn(item, i),
+            key = fn.call(thisObject, item, i),
             partition = partitions[key];
         if (!partition)
             partition = partitions[key] = [];</diff>
      <filename>lib/collections.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b1a67c4f8188e14eb4d6c0d89fdc09910ec0c7fd</id>
    </parent>
  </parents>
  <author>
    <name>Oliver Steele</name>
    <email>steele@osteele.com</email>
  </author>
  <url>http://github.com/osteele/collections-js/commit/6b2d5b21406645a085bcd6f81f098aa17d7dfa1e</url>
  <id>6b2d5b21406645a085bcd6f81f098aa17d7dfa1e</id>
  <committed-date>2008-04-20T18:26:00-07:00</committed-date>
  <authored-date>2008-04-20T18:26:00-07:00</authored-date>
  <message>add thisObject to partitionBy</message>
  <tree>d8bdb3c84d9f9242ef984c6571b5776d115385d4</tree>
  <committer>
    <name>Oliver Steele</name>
    <email>steele@osteele.com</email>
  </committer>
</commit>
