Skip to content

Commit 8bf86eb

Browse files
committed
Tweak the README
Now we point users to the `LICENSE.md` file for the license, instead of including it in the README. This also removes the example integrations, which are no longer officially maintained by Select2. The translation section has also been updated.
1 parent fef1ccf commit 8bf86eb

1 file changed

Lines changed: 11 additions & 34 deletions

File tree

README.md

Lines changed: 11 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
Select2
22
=======
33

4-
Select2 is a jQuery-based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.
4+
Select2 is a jQuery-based replacement for select boxes. It supports searching,
5+
remote data sets, and pagination of results.
56

6-
To get started, checkout examples and documentation at http://ivaynberg.github.com/select2
7+
To get started, checkout examples and documentation at
8+
http://ivaynberg.github.io/select2
79

810
Use cases
911
---------
@@ -46,23 +48,17 @@ Integrations
4648
* [Meteor][meteor-select2-alt]
4749
* [Yii 2.x][yii2-select2]
4850
* [Yii 1.x][yii-select2]
49-
* [AtmosphereJS][atomospherejs-select2]
50-
51-
### Example Integrations
52-
53-
* [Knockout.js](https://github.com/ivaynberg/select2/wiki/Knockout.js-Integration)
54-
* [Socket.IO](https://github.com/ivaynberg/select2/wiki/Socket.IO-Integration)
55-
* [PHP](https://github.com/ivaynberg/select2/wiki/PHP-Example)
56-
* [.Net MVC] (https://github.com/ivaynberg/select2/wiki/.Net-MVC-Example)
51+
* [AtmosphereJS][atmospherejs-select2]
5752

5853
Internationalization (i18n)
5954
---------------------------
6055

6156
Select2 supports multiple languages by simply including the right language JS
62-
file (`select2_locale_it.js`, `select2_locale_nl.js`, etc.) after `select2.js`.
57+
file (`dist/js/i18n/it.js`, `dist/js/i18n/nl.js`, etc.) after
58+
`dist/js/select2.js`.
6359

64-
Missing a language? Just copy `select2_locale_en.js.template`, translate
65-
it, and make a pull request back to Select2 here on GitHub.
60+
Missing a language? Just copy `src/js/select2/i18n/en.js`, translate it, and
61+
make a pull request back to Select2 here on GitHub.
6662

6763
Documentation
6864
-------------
@@ -100,27 +96,7 @@ Need help implementing Select2 in your project? Ask in our IRC channel!
10096

10197
Copyright and license
10298
---------------------
103-
The MIT License (MIT)
104-
105-
Copyright (c) 2012-2014 Kevin Brown, Igor Vaynberg, and Select2 contributors
106-
107-
Permission is hereby granted, free of charge, to any person obtaining a copy
108-
of this software and associated documentation files (the "Software"), to deal
109-
in the Software without restriction, including without limitation the rights
110-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
111-
copies of the Software, and to permit persons to whom the Software is
112-
furnished to do so, subject to the following conditions:
113-
114-
The above copyright notice and this permission notice shall be included in
115-
all copies or substantial portions of the Software.
116-
117-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
118-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
119-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
120-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
121-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
122-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
123-
THE SOFTWARE.
99+
The license is available within the repository in the [LICENSE][license] file.
124100

125101
[angularjs]: https://angularjs.org/
126102
[angularui-select]: http://angular-ui.github.io/#ui-select
@@ -133,6 +109,7 @@ THE SOFTWARE.
133109
[documentation-folder]: https://github.com/ivaynberg/select2/tree/master/docs
134110
[freenode]: https://freenode.net/
135111
[jsdelivr]: http://www.jsdelivr.com/#!select2
112+
[license]: LICENSE.md
136113
[meteor-select2]: https://github.com/nate-strauser/meteor-select2
137114
[meteor-select2-alt]: https://jquery-select2.meteor.com
138115
[meteor-select2-bootstrap3]: https://github.com/esperadomedia/meteor-select2-bootstrap3-css/

0 commit comments

Comments
 (0)