mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Merge pull request #773 from harry-wood/patch-1
README minor english tweaks
This commit is contained in:
commit
1f84c043a2
10
README.md
10
README.md
@ -5,9 +5,7 @@
|
|||||||
[![npm version](https://badge.fury.io/js/jquery-datetimepicker.svg)](https://badge.fury.io/js/jquery-datetimepicker)
|
[![npm version](https://badge.fury.io/js/jquery-datetimepicker.svg)](https://badge.fury.io/js/jquery-datetimepicker)
|
||||||
[![npm](https://img.shields.io/npm/dm/jquery-datetimepicker.svg)](https://www.npmjs.com/package/jquery-datetimepicker)
|
[![npm](https://img.shields.io/npm/dm/jquery-datetimepicker.svg)](https://www.npmjs.com/package/jquery-datetimepicker)
|
||||||
|
|
||||||
|
PLEASE. Help me update the documentation.
|
||||||
|
|
||||||
PLEASE. Help me update documentation.
|
|
||||||
[Doc.tpl](https://github.com/xdan/datetimepicker/blob/master/doc.tpl)
|
[Doc.tpl](https://github.com/xdan/datetimepicker/blob/master/doc.tpl)
|
||||||
This file will be automatically displayed on the site
|
This file will be automatically displayed on the site
|
||||||
|
|
||||||
@ -24,7 +22,7 @@ or download [zip](https://github.com/xdan/datetimepicker/releases)
|
|||||||
# datetimepicker
|
# datetimepicker
|
||||||
==============
|
==============
|
||||||
|
|
||||||
**!!! The latest version of the options 'lang' obsolete. The language setting is now global. !!!**
|
**!!! In the latest version the 'lang' option is obsolete. The language setting is now global. !!!**
|
||||||
|
|
||||||
Use this:
|
Use this:
|
||||||
```javascript
|
```javascript
|
||||||
@ -66,7 +64,7 @@ Install:
|
|||||||
2. Run `npm install`. npm will look at `package.json` and automatically install the necessary dependencies.
|
2. Run `npm install`. npm will look at `package.json` and automatically install the necessary dependencies.
|
||||||
3. Run `bower install`, which installs front-end packages defined in `bower.json`.
|
3. Run `bower install`, which installs front-end packages defined in `bower.json`.
|
||||||
|
|
||||||
Notice: If you use Bower v1.5.2, you will get error: `The "main" field cannot contain minified files`
|
Notice: If you use Bower v1.5.2, you will get the error: `The "main" field cannot contain minified files`
|
||||||
You can regress to version 1.3.12
|
You can regress to version 1.3.12
|
||||||
|
|
||||||
1. `npm uninstall bower -g`
|
1. `npm uninstall bower -g`
|
||||||
@ -77,7 +75,7 @@ Build:
|
|||||||
First install npm requirements: `npm install -g uglifycss concat-cli`
|
First install npm requirements: `npm install -g uglifycss concat-cli`
|
||||||
Then build the files: `npm run build`
|
Then build the files: `npm run build`
|
||||||
|
|
||||||
When build completed, you'll have the following files:
|
When the build completes, you'll have the following files:
|
||||||
- **build/jquery.datetimepicker.full.js** - browser file
|
- **build/jquery.datetimepicker.full.js** - browser file
|
||||||
- **build/jquery.datetimepicker.full.min.js** - browser minified file
|
- **build/jquery.datetimepicker.full.min.js** - browser minified file
|
||||||
- **build/jquery.datetimepicker.min.js** - amd module style minified file
|
- **build/jquery.datetimepicker.min.js** - amd module style minified file
|
||||||
|
Loading…
Reference in New Issue
Block a user