<commit_before>Ember Link Action
==============================================================================
[![Build Status](https://travis-ci.org/Kuzirashi/ember-link-action.svg?branch=master)](https://travis-ci.org/Kuzirashi/ember-link-action) [![npm version](https://badge.fury.io/js/ember-link-action.svg)](https://badge.fury.io/js/ember-link-action) [![Ember Observer Score](http://emberobserver.com/badges/ember-link-action.svg)](http://emberobserver.com/addons/ember-link-action)

An Ember CLI addon. Allows to combine `{{link-to}}` helper with firing an action.

It is useful when you want to fire an action at the same time when user transitions to other route by clicking `{{link-to}}`. **It is OK for SEO solution.**

Usage
------------------------------------------------------------------------------

You can pass closure action as `invokeAction` attribute of `{{link-to}}` component:

``` hbs
{{#link-to 'other-route' invokeAction=(action 'testAction')}}
  Link to other route
{{/link-to}}
```

To pass parameters to action you can use:

``` hbs
{{#link-to 'other-route' invokeAction=(action 'testAction' param1 param2)}}
  Link to other route
{{/link-to}}
```

Compatibility
------------------------------------------------------------------------------


* Ember.js v2.12 or above
* Ember CLI v2.12 or above
* Node.js v6 or above


Addon works with `>= 3.0`, `>= 2.0` versions of Ember. Tests confirm that it works as expected with release, beta and canary.

For `1.13.13` compatibility use tested version: `0.0.37`. In other cases - use the latest version.

Installation
------------------------------------------------------------------------------

```
ember install ember-link-action
```


Contributing
------------------------------------------------------------------------------

See the [Contributing](CONTRIBUTING.md) guide for details.


License
------------------------------------------------------------------------------

This project is licensed under the [MIT License](LICENSE.md).<commit_msg>chore: update readme<commit_after>Ember Link Action
==============================================================================
[![Build Status](https://travis-ci.org/Kuzirashi/ember-link-action.svg?branch=master)](https://travis-ci.org/Kuzirashi/ember-link-action) [![npm version](https://badge.fury.io/js/ember-link-action.svg)](https://badge.fury.io/js/ember-link-action) [![Ember Observer Score](http://emberobserver.com/badges/ember-link-action.svg)](http://emberobserver.com/addons/ember-link-action)

An Ember CLI addon. Allows to combine `{{link-to}}` helper with firing an action.

It is useful when you want to fire an action at the same time when user transitions to other route by clicking `{{link-to}}`. **It is OK for SEO solution.**

Usage
------------------------------------------------------------------------------

You can pass closure action as `invokeAction` attribute of `{{link-to}}` component:

``` hbs
{{#link-to 'other-route' invokeAction=(action 'testAction')}}
  Link to other route
{{/link-to}}
```

To pass parameters to action you can use:

``` hbs
{{#link-to 'other-route' invokeAction=(action 'testAction' param1 param2)}}
  Link to other route
{{/link-to}}
```

Compatibility
------------------------------------------------------------------------------


* Ember.js v2.12 or above
* Ember CLI v2.12 or above
* Node.js v6 or above


Latest addon version works with `>= 3.0` versions of Ember. For more info check test scenarios on CI or `travis.yml`.

For `>= 2.0.0 AND < 3` compatibility use tested version: `1.0.0`.

For `1.13.13` compatibility use tested version: `0.0.37`.

Installation
------------------------------------------------------------------------------

```
ember install ember-link-action
```


Contributing
------------------------------------------------------------------------------

See the [Contributing](CONTRIBUTING.md) guide for details.


License
------------------------------------------------------------------------------

This project is licensed under the [MIT License](LICENSE.md).
{'fraction_non_alphanumeric': 0.3412484700122399, 'fraction_numerical': 0.011995104039167686, 'mean_word_length': 1.9912152269399708, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 7, 'https://': 8, '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': '272266', 'n_tokens_mistral': 1113, 'n_tokens_neox': 1052, 'n_words': 326}