<commit_before>jquery.csrf
===========

Set CSRF token header for jQuery.

## License

Copyright © 2015 <NAME> <<EMAIL>> under The [MIT License](http://opensource.org/licenses/MIT).<commit_msg>Add Usage To README.md<commit_after>jquery.csrf
===========

Set CSRF token header for jQuery.

##Usage
First, Include jQuery Then **jquery.csrf.js**:
```js
<script src="https://code.jquery.com/jquery-2.1.4.js"></script>
<script src="jquery.csrf.js"></script>
```
Then, Include `meta` Tag In Your Page With The CSRF-Token In It:
```html
<meta name="csrf-token" content="myCSRFtoken">
```
Now, Whenever You Make AJAX Request Using jQuery .. `X-CSRF-Token` Will Be Set To `myCSRFtoken`.
Example:
```js
$( "body" ).load( "ajax/test.html" );
```

## License

Copyright © 2015 <NAME> <<EMAIL>> under The [MIT License](http://opensource.org/licenses/MIT).
{'fraction_non_alphanumeric': 0.19833729216152018, 'fraction_numerical': 0.013064133016627079, 'mean_word_length': 4.9787234042553195, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 1, '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': '6549911', 'n_tokens_mistral': 302, 'n_tokens_neox': 281, 'n_words': 82}