Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
machineboy2045 committed Sep 7, 2015
1 parent 7c2cfae commit 6bf238b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## 3.0.1 (2015-09-07)

Documentation:

- Added CHANGELOG
- Updated README concerning config.options

## 3.0.0 (2015-08-07)

Changes:

- Dropped support for simple arrays `['Option 1', 'Option 2']` in order to simplify the directive and ensure consistent behavior.
- Renamed `'selectize.js'` to `'angular-selectize.js'` to avoid confusion.
- update to selectize 0.12.1
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ This is an Angular.js directive for Brian Reavis's [selectize jQuery plugin](htt
* Keyboard support



## Upgrading to version 3.x.x
Previous versions supported simple arrays for options `['Option 1', 'Option 2']`. Version 3.0 drops this in order
to simplify the directive and make it more consistent with the original Selectize.


## Dependencies
Expand Down Expand Up @@ -74,9 +76,10 @@ $scope.myConfig = {
```html
<selectize config='myConfig' options='myOptions' ng-model="myModel"></selectize>
```
##Differences in Angular version
Please note in the example that, unlike the original Selectize, options should NOT be passed in the config object.


##Documentation
##More Documentation
- [Selectize config options](https://github.com/brianreavis/selectize.js/blob/master/docs/usage.md)
- [Selectize API](https://github.com/brianreavis/selectize.js/blob/master/docs/api.md)

Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "angular-selectize2",
"version": "1.2.3",
"version": "3.0.1",
"main" : [
"./dist/selectize.js"
"./dist/angular-selectize.js"
],
"dependencies": {
"selectize": ">=0.12.1"
Expand Down

0 comments on commit 6bf238b

Please sign in to comment.