1
0
mirror of synced 2024-11-25 06:16:08 +03:00

Merge pull request #40 from select2/develop

Release Select2 4.0.9
This commit is contained in:
Kevin Brown 2019-08-21 21:25:07 -04:00 committed by GitHub
commit bdeb9075f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 5 deletions

View File

@ -13,8 +13,8 @@ A CDN (content delivery network) is the fastest way to get up and running with S
Select2 is hosted on both the [cdnjs](https://cdnjs.com/libraries/select2) and [jsDelivr](https://www.jsdelivr.com/#!select2) CDNs. Simply include the following lines of code in the `<head>` section of your page: Select2 is hosted on both the [cdnjs](https://cdnjs.com/libraries/select2) and [jsDelivr](https://www.jsdelivr.com/#!select2) CDNs. Simply include the following lines of code in the `<head>` section of your page:
``` ```
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.8/css/select2.min.css" rel="stylesheet" /> <link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.9/css/select2.min.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.8/js/select2.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.9/js/select2.min.js"></script>
``` ```
>>> <i class="fa fa-info-circle"></i> Immediately following a new release, it takes some time for CDNs to catch up and get the new versions live on the CDN. >>> <i class="fa fa-info-circle"></i> Immediately following a new release, it takes some time for CDNs to catch up and get the new versions live on the CDN.

View File

@ -14,6 +14,8 @@ It is recommended that you declare your configuration options by [passing in an
</select> </select>
``` ```
>>> Some options are not supported as `data-*`, for example `disabled` as it's not a Javascript option, but it's an HTML [attribute](/configuration/options-api).
## Nested (subkey) options ## Nested (subkey) options
Sometimes, you have options that are nested under a top-level option. For example, the options under the `ajax` option: Sometimes, you have options that are nested under a top-level option. For example, the options under the `ajax` option:

View File

@ -7,7 +7,7 @@ process:
never_cache_twig: true never_cache_twig: true
--- ---
{% do assets.addJs('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.8/js/i18n/es.js', 90) %} {% do assets.addJs('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.9/js/i18n/es.js', 90) %}
## Message translations ## Message translations

View File

@ -17,7 +17,7 @@
{% do assets.addCss('theme://css/custom.css',100) %} {% do assets.addCss('theme://css/custom.css',100) %}
{% do assets.addCss('theme://css/font-awesome.min.css',100) %} {% do assets.addCss('theme://css/font-awesome.min.css',100) %}
{% do assets.addCss('theme://css/featherlight.min.css') %} {% do assets.addCss('theme://css/featherlight.min.css') %}
{% do assets.addCss('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.8/css/select2.min.css') %} {% do assets.addCss('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.9/css/select2.min.css') %}
{% do assets.addCss('theme://css/s2-docs.css', 100) %} {% do assets.addCss('theme://css/s2-docs.css', 100) %}
{% do assets.addCss('theme://css/theme.css',100) %} {% do assets.addCss('theme://css/theme.css',100) %}
@ -33,7 +33,7 @@
{% block javascripts %} {% block javascripts %}
{% do assets.addJs('jquery',101) %} {% do assets.addJs('jquery',101) %}
{% do assets.addJs('theme://js/modernizr.custom.71422.js',100) %} {% do assets.addJs('theme://js/modernizr.custom.71422.js',100) %}
{% do assets.addJs('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.8/js/select2.full.min.js', 100) %} {% do assets.addJs('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.9/js/select2.full.min.js', 100) %}
{% do assets.addJs('https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js', 100) %} {% do assets.addJs('https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js', 100) %}
{% do assets.addJs('theme://js/featherlight.min.js') %} {% do assets.addJs('theme://js/featherlight.min.js') %}
{% do assets.addJs('theme://js/clipboard.min.js') %} {% do assets.addJs('theme://js/clipboard.min.js') %}