Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Commit

Permalink
Bump versions for Select2 4.0.6 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-brown committed Apr 28, 2019
1 parent 3c26bd0 commit a1bd03c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pages/01.getting-started/01.installation/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

```
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/css/select2.min.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/js/select2.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6/css/select2.min.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6/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.
Expand Down
2 changes: 1 addition & 1 deletion pages/13.i18n/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ process:
never_cache_twig: true
---

{% do assets.addJs('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/i18n/es.js', 90) %}
{% do assets.addJs('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6/js/i18n/es.js', 90) %}

## Message translations

Expand Down
6 changes: 3 additions & 3 deletions themes/site/templates/partials/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{% do assets.addCss('theme://css/custom.css',100) %}
{% do assets.addCss('theme://css/font-awesome.min.css',100) %}
{% do assets.addCss('theme://css/featherlight.min.css') %}
{% do assets.addCss('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.1/css/select2.min.css') %}
{% do assets.addCss('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6/css/select2.min.css') %}
{% do assets.addCss('theme://css/s2-docs.css', 100) %}
{% do assets.addCss('theme://css/theme.css',100) %}

Expand All @@ -33,7 +33,7 @@
{% block javascripts %}
{% do assets.addJs('jquery',101) %}
{% do assets.addJs('theme://js/modernizr.custom.71422.js',100) %}
{% do assets.addJs('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.1/js/select2.full.min.js', 100) %}
{% do assets.addJs('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6/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('theme://js/featherlight.min.js') %}
{% do assets.addJs('theme://js/clipboard.min.js') %}
Expand Down Expand Up @@ -99,7 +99,7 @@
{% block navigation %}{% endblock %}
</section>
{% endblock %}

{% block analytics %}
{% if theme_config.google_analytics_code %}
{% include 'partials/analytics.html.twig' %}
Expand Down

0 comments on commit a1bd03c

Please sign in to comment.