<commit_before># Knockout Pickadate Binding

> Simple knockout binding that wraps [pickadate.js](http://amsul.ca/pickadate.js).

## Install with [Bower](http://bower.io/)

```
bower install knockout-date-picker
```

Then add `knockout.date-picker.js` to your project.

## How to Use
See the [pickadate documentation](http://amsul.ca/pickadate.js/date.htm) for options. Include the script on your page (either via a normal script tag or via an AMD loader). Then use it like so:

```html
<input data-bind="value: myDate, pickadate:{ editable: true }" />
```

If you load it via the AMD loader, it brings in the required CSS files for the date picker. See the [require-css documentation](https://github.com/guybedford/require-css) for how to configure that.<commit_msg>Adding more helpful info to readme<commit_after># Knockout Pickadate Binding

> Simple knockout binding that wraps [pickadate.js](http://amsul.ca/pickadate.js).

## Install with [Bower](http://bower.io/)

```
bower install knockout-date-picker
```

Then add `knockout.date-picker.js` to your project.

## How to Use
See the [pickadate documentation](http://amsul.ca/pickadate.js/date.htm) for options. Include the script on your page (either via a normal script tag or via an AMD loader). Then use it like so:

```html
<input data-bind="value: myDate, pickadate:{ editable: true }" />
```

If you load it via the AMD loader, it brings in the required CSS files for the date picker. You will want a requirejs config that looks something like this:

```js
paths: {
	"knockout.date-picker": "../bower_components/knockout-date-picker/knockout.date-picker",
	"picker": "../bower_components/pickadate/lib/picker",
	"picker.date": "../bower_components/pickadate/lib/picker.date",
	"picker.time": "../bower_components/pickadate/lib/picker.time"
},
map: {
	"*": {
		"pickadate": "../bower_components/pickadate/lib/"
	}
}
```

where `../bower_components` is the path to your `bower_components` folder.
{'fraction_non_alphanumeric': 0.13898824731732243, 'fraction_numerical': 0.0, 'mean_word_length': 4.423822714681441, 'pattern_counts': {'":': 6, '<': 5, '<?xml version=': 0, '>': 7, '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': '1931045', 'n_tokens_mistral': 653, 'n_tokens_neox': 618, 'n_words': 204}