<commit_before># Ember-promise-button

Another implementation of a promise-aware component for emberjs

Use it like so:

```handlebars
{{promise-button promise=myPromise loadingText="loading"}}
  submit will to allah
{{/promise-button}}
```
This will create a button which, when myPromise is pending, become disabled.

By the way, this may seem obvious, but you MUST pass a promise to the promise button

## TODO:
1. include optional loading styles
2. allow more customization in now loading texts

## Installation

* `git clone` this repository
* `npm install`
* `bower install`

## Running

* `ember server`
* Visit your app at http://localhost:4200.

## Running Tests

* `ember test`
* `ember test --server`

## Building

* `ember build`
<commit_msg>forogt #<commit_after># Ember-promise-button

Another implementation of a promise-aware component for emberjs

Use it like so:

```handlebars
{{#promise-button promise=myPromise loadingText="loading"}}
  submit will to allah
{{/promise-button}}
```
This will create a button which, when myPromise is pending, become disabled.

By the way, this may seem obvious, but you MUST pass a promise to the promise button

## TODO:
1. include optional loading styles
2. allow more customization in now loading texts

## Installation

* `git clone` this repository
* `npm install`
* `bower install`

## Running

* `ember server`
* Visit your app at http://localhost:4200.

## Running Tests

* `ember test`
* `ember test --server`

## Building

* `ember build`

{'fraction_non_alphanumeric': 0.10252996005326231, 'fraction_numerical': 0.007989347536617843, 'mean_word_length': 4.485401459854015, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3121470', 'n_tokens_mistral': 457, 'n_tokens_neox': 442, 'n_words': 187}