<commit_before>Cordova Badge-Plugin
====================

A bunch of badge notification plugins for Cordova 3.x.x

by <NAME> ([github.com/katzer](https://github.com/katzer))

## Supported Platforms ##
- **iOS**

## Adding the Plugin to your project ##
Through the [Command-line Interface](http://cordova.apache.org/docs/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface):
```
cordova plugin add https://github.com/katzer/cordova-plugin-badge.git
```

## Release Notes ##
#### Version 0.2.1 (15.08.2013) ####
- Added new namespace `plugin.notification.badge`<br>
  **Note:** The former `plugin.badge` namespace is deprecated now and will be removed in the next major release.

#### Version 0.2.0 (11.08.2013) ####
- Added iOS support<br>
  *Based on the Badge iOS plugin made by* ***<NAME>***

## Using the plugin ##
The plugin creates the object ```window.plugin.notification.badge``` with two methods:

### set() ###
To set the badge number:
```javascript
window.plugin.notification.badge.set(_number_);
```

### clear() ###
To clear the badge:
```javascript
window.plugin.notification.badge.clear();
window.plugin.notification.badge.set(0);  // alternative
```

####  Example ####
To set the badge number to **1**:
```javascript
window.plugin.notification.badge.set(1);
```<commit_msg>Added cmd how to remove the plugin from your project<commit_after>Cordova Badge-Plugin
====================

A bunch of badge notification plugins for Cordova 3.x.x

by <NAME> ([github.com/katzer](https://github.com/katzer))

## Supported Platforms
- **iOS**

## Adding the Plugin to your project
Through the [Command-line Interface](http://cordova.apache.org/docs/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface):
```
cordova plugin add https://github.com/katzer/cordova-plugin-badge.git
```

## Removing the Plugin from your project
Through the [Command-line Interface](http://cordova.apache.org/docs/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface):
```
cordova plugin rm de.appplant.cordova.plugin.badge
```

## Release Notes
#### Version 0.2.1 (15.08.2013)
- Added new namespace `plugin.notification.badge`<br>
  **Note:** The former `plugin.badge` namespace is deprecated now and will be removed in the next major release.

#### Version 0.2.0 (11.08.2013)
- Added iOS support<br>
  *Based on the Badge iOS plugin made by* ***<NAME>***

## Using the plugin
The plugin creates the object ```window.plugin.notification.badge``` with two methods:

### set()
To set the badge number:
```javascript
window.plugin.notification.badge.set(_number_);
```

### clear()
To clear the badge:
```javascript
window.plugin.notification.badge.clear();
window.plugin.notification.badge.set(0);  // alternative
```

####  Example
To set the badge number to **1**:
```javascript
window.plugin.notification.badge.set(1);
```
{'fraction_non_alphanumeric': 0.17634635691657866, 'fraction_numerical': 0.025695177754311863, 'mean_word_length': 4.933194154488517, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 4, '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': '6141191', 'n_tokens_mistral': 970, 'n_tokens_neox': 890, 'n_words': 245}