Skip to content

Commit

Permalink
We now support bower
Browse files Browse the repository at this point in the history
  • Loading branch information
pfiller committed Mar 28, 2015
1 parent 7d206e6 commit 8897bbc
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions README.md
Expand Up @@ -13,30 +13,10 @@ https://github.com/harvesthq/chosen/releases/

### Bower Installation

Chosen does _**not**_ currently support command-line `bower install chosen` installation. This is because the repo does not contain the compiled sources, and bower does not currently support adding a post-install/build step.
Chosen is available for Bower installation:
`bower install chosen`

However, you can specify that you'd like to use [the release ZIP](https://github.com/harvesthq/chosen/releases/latest), which includes the compiled and minified sources.

Either install from the command line with

```
$ bower install https://github.com/harvesthq/chosen/releases/download/v1.4.1/chosen_v1.4.1.zip
````

or add Chosen to your own project's `bower.json` file, like:

```json
{
"name": "my-project",
"version": "1.0.0",
"dependencies": {
"jquery": "1.11.0",
"chosen": "https://github.com/harvesthq/chosen/releases/download/v1.4.1/chosen_v1.4.1.zip"
}
}
```

See [#1509](https://github.com/harvesthq/chosen/issues/1509), [#1472](https://github.com/harvesthq/chosen/issues/1472), and [#1333](https://github.com/harvesthq/chosen/issues/1333) for more info.
The compiled files for the Bower package are automatically generated and stored in a [2nd Chosen repository](https://github.com/harvesthq/bower-chosen). No pull requests will be accepted to that repository.

### Contributing to this project

Expand Down

0 comments on commit 8897bbc

Please sign in to comment.