<commit_before>jquery-whenObject
=================

$.when with objects, a la [async](https://github.com/caolan/async).

## Usage

Include on your page, after jQuery. Supports AMD.

```js

$.whenObject({
  first: firstPromise,
  second: secondPromise
}) // => returns combined promise
  .done(/* function... */)
  .fail(/* function... */)<commit_msg>add done usage<commit_after>jquery-whenObject
=================

$.when with objects, a la [async](https://github.com/caolan/async).

## Usage

Include on your page, after jQuery. Supports AMD.

```js

$.whenObject({
  first: firstPromise,
  second: secondPromise
}) // => returns combined promise
  .done(function (results) {
    console.log(results.first);
    console.log(results.second);
  })
  .fail(/* function... */)
{'fraction_non_alphanumeric': 0.2056921086675291, 'fraction_numerical': 0.0, 'mean_word_length': 3.8074534161490683, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6552661', 'n_tokens_mistral': 242, 'n_tokens_neox': 234, 'n_words': 62}