Skip to content

Commit

Permalink
update readme, drop css file from dist folder
Browse files Browse the repository at this point in the history
  • Loading branch information
chemerisuk committed Nov 16, 2014
1 parent cf30593 commit 5607483
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 183 deletions.
32 changes: 9 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,15 @@ Why another date picker? The problem is that most of existing solutions do not f

## Features

* normalizes `input[type=date]` representation on desktop browsers
* submitted value of the input has RFC 3339 `yyyy-MM-dd` format
* normalizes `input[type=date]` presentation for desktop browsers
* skips mobile browsers, they have good UI widget and correct `value` format
* submitted value always has `yyyy-MM-dd` [RFC 3339] format
* [live extension](https://github.com/chemerisuk/better-dom/wiki/Live-extensions) - works for current and future content
* fully customizable date picker via CSS classes
* date picker has keyboard and accessibility support
* allows to set value programmatically, but the string should have `yyyy-MM-dd` format
* US variant for days of week is supported (use `<html lang="en-US">`)
* does nothing on mobile browsers, they have good UI widget and correct `value` format
* `placeholder` attribute works as expected in browsers that support it
* restores initial value on form reset
* fully customizable date picker
* keyboard and accessibility support
* [full i18n support](https://github.com/chemerisuk/better-i18n-plugin#multilingual-live-extensions) (if your language is missed - just translate strings from `i18n` folder and include a new file in your project)
* US variant for days of week is supported (use `<html lang="en-US">`)

## Installation
The simplest way is to use [bower](http://bower.io/):
Expand All @@ -31,21 +29,9 @@ This will clone the latest version of the __better-dateinput-polyfill__ with dep
Then append the following script on your page:

```html
<html>
<head>
...
<link href="bower_components/better-dateinput-polyfill/dist/better-dateinput-polyfill.css" rel="stylesheet"/>
<!--[if IE]>
<link href="bower_components/better-dom/dist/better-dom-legacy.htc" rel="htc"/>
<script src="bower_components/better-dom/dist/better-dom-legacy.js"></script>
<![endif]-->
</head>
<body>
...
<script src="bower_components/better-dom/dist/better-dom.js"></script>
<script src="bower_components/better-dateinput-polyfill/dist/better-dateinput-polyfill.js"></script>
</body>
</html>
<script src="bower_components/better-dom/dist/better-dom.js"></script>
<script src="bower_components/better-i18n-plugin/dist/better-i18n-plugin.js"></script>
<script src="bower_components/better-dateinput-polyfill/dist/better-dateinput-polyfill.js"></script>
```

## Browser support
Expand Down
160 changes: 0 additions & 160 deletions dist/better-dateinput-polyfill.css

This file was deleted.

0 comments on commit 5607483

Please sign in to comment.