docs: function partition(array, partitionSize) {
      partitionSize = partitionSize || array.length;
      var ret = [];
      for (var i = 0, l = array.length; i < l; i += partitionSize) {
          ret.push(array.slice(i, i + partitionSize));
      }
      return ret;
  }