Skip to content

Commit

Permalink
Release v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyuanchen committed Jun 1, 2017
1 parent adb08e1 commit 14dfa4a
Show file tree
Hide file tree
Showing 10 changed files with 8,867 additions and 44 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Changelog


### 2.0.0 (Jun 1, 2017)

- Updated districts.
- Use `window.jQuery` instead of `window.$` for browser side usage.
- Change the `main` field value from `dist/distpicker.js` (UMD) to `dist/distpicker.common.js` (CommonJS).
- Added `module` and `browser` fields to `package.json`.


### 2.0.0-rc (Mar 4, 2017)

- Updated districts.
Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@

```
dist/
├── distpicker.js (98 KB)
└── distpicker.min.js (71 KB)
├── distpicker.js (98 KB, UMD)
├── distpicker.min.js (71 KB, UMD, compressed)
├── distpicker.common.js (98 KB, CommonJS)
└── distpicker.esm.js (98 KB, ES Module)
```


Expand Down Expand Up @@ -178,6 +180,12 @@ Show placeholder (with an `<option>` element).

Defines the value type of the `<select>` element.

Note that this option in `data-*` attribute should be `data-value-type`:

```html
<div data-toggle="distpicker" data-value-type="code">...</div>
```


### province

Expand Down
Loading

0 comments on commit 14dfa4a

Please sign in to comment.