Skip to content

Commit

Permalink
update version number
Browse files Browse the repository at this point in the history
update Readme
  • Loading branch information
lordfriend committed Aug 22, 2015
1 parent 8ca110c commit b317760
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 10 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,21 @@ Require: angular 1.2+

###Static Options

You can use static options which means you can't change the option when the HTML code is ready. Under this usage, you don't use the `nya-bs-option` directive, but you should add `nya-bs-option` class to all the `<li>` element and `value` attribute to let the directive know you option's value.
You can use static options which means you can't change the option when the HTML code is ready. Under this usage, you don't use the `nya-bs-option` directive, but you should add `nya-bs-option` class to all the `<li>` element and `data-value` attribute to let the directive know you option's value.

```html
<ol class="nya-bs-select" ng-model="myModel">
<li value="alpha" class="nya-bs-option">
<li data-value="alpha" class="nya-bs-option">
<a>
Alpha
</a>
</li>
<li value="beta" class="nya-bs-option">
<li data-value="beta" class="nya-bs-option">
<a>
Beta
</a>
</li>
<li value="charlie" class="nya-bs-option">
<li data-value="charlie" class="nya-bs-option">
<a>
Charlie
</a>
Expand Down Expand Up @@ -105,6 +105,12 @@ Source files are separated to several files. run `grunt build` will do some karm

e2e test is not available temporarily, I will add those test in the future.

Something should be noticed:

- If you add a feature, you should add a unit test case. The unit test using karma runner and jasmine 1.5 framework. you can add new test spec files in **test/spec** folder.
- For any Pull Request, you should only modify the src files and documents, test specs. do not update dist files, package.json, bower.json or try to update project version.
- Any feature should work without jquery.

## License ##

Licensed under the MIT license
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nya-bootstrap-select",
"version": "2.0.10",
"version": "2.1.0",
"main": [
"dist/js/nya-bs-select.js",
"dist/css/nya-bs-select.css"
Expand Down
2 changes: 1 addition & 1 deletion dist/css/nya-bs-select.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* nya-bootstrap-select v2.0.10
* nya-bootstrap-select v2.1.0
* Copyright 2014 Nyasoft
* Licensed under MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/css/nya-bs-select.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/js/nya-bs-select.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* nya-bootstrap-select v2.0.10
* nya-bootstrap-select v2.1.0
* Copyright 2014 Nyasoft
* Licensed under MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/js/nya-bs-select.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nya-bootstrap-select",
"version": "2.0.10",
"version": "2.1.0",
"description": "An angular directive wraps bootstrap-select",
"repository": {
"type": "git",
Expand Down

0 comments on commit b317760

Please sign in to comment.