mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-31 04:52:18 +02:00
Version 2.7.2
This commit is contained in:
parent
6abeb65c95
commit
f485814dd0
7
assets/scripts/dist/choices.js
vendored
7
assets/scripts/dist/choices.js
vendored
|
@ -1,4 +1,4 @@
|
||||||
/*! choices.js v2.7.1 | (c) 2017 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
|
/*! choices.js v2.7.2 | (c) 2017 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
|
||||||
(function webpackUniversalModuleDefinition(root, factory) {
|
(function webpackUniversalModuleDefinition(root, factory) {
|
||||||
if(typeof exports === 'object' && typeof module === 'object')
|
if(typeof exports === 'object' && typeof module === 'object')
|
||||||
module.exports = factory();
|
module.exports = factory();
|
||||||
|
@ -1344,6 +1344,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
||||||
|
|
||||||
return function (results, value, label) {
|
return function (results, value, label) {
|
||||||
if (!results || !value) return;
|
if (!results || !value) return;
|
||||||
|
|
||||||
var parsedResults = (0, _utils.isType)('Object', results) ? [results] : results;
|
var parsedResults = (0, _utils.isType)('Object', results) ? [results] : results;
|
||||||
|
|
||||||
if (parsedResults && (0, _utils.isType)('Array', parsedResults) && parsedResults.length) {
|
if (parsedResults && (0, _utils.isType)('Array', parsedResults) && parsedResults.length) {
|
||||||
|
@ -1359,7 +1360,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
||||||
_this16._addChoice(isSelected, isDisabled, result[value], result[label]);
|
_this16._addChoice(isSelected, isDisabled, result[value], result[label]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
// No results, remove loading state
|
||||||
|
_this16._handleLoadingState(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
_this16.containerOuter.removeAttribute('aria-busy');
|
_this16.containerOuter.removeAttribute('aria-busy');
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
2
assets/scripts/dist/choices.js.map
vendored
2
assets/scripts/dist/choices.js.map
vendored
File diff suppressed because one or more lines are too long
4
assets/scripts/dist/choices.min.js
vendored
4
assets/scripts/dist/choices.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "choices.js",
|
"name": "choices.js",
|
||||||
"version": "2.7.1",
|
"version": "2.7.2",
|
||||||
"description": "A vanilla JS customisable text input/select box plugin",
|
"description": "A vanilla JS customisable text input/select box plugin",
|
||||||
"main": [
|
"main": [
|
||||||
"./assets/scripts/dist/choices.js",
|
"./assets/scripts/dist/choices.js",
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<meta name="theme-color" content="#ffffff">
|
<meta name="theme-color" content="#ffffff">
|
||||||
|
|
||||||
<!-- Ignore these -->
|
<!-- Ignore these -->
|
||||||
<link rel="stylesheet" href="assets/styles/css/base.min.css?version=2.7.1">
|
<link rel="stylesheet" href="assets/styles/css/base.min.css?version=2.7.2">
|
||||||
<!-- End ignore these -->
|
<!-- End ignore these -->
|
||||||
|
|
||||||
<!-- Optional includes -->
|
<!-- Optional includes -->
|
||||||
|
@ -23,8 +23,8 @@
|
||||||
<!-- End optional includes -->
|
<!-- End optional includes -->
|
||||||
|
|
||||||
<!-- Choices includes -->
|
<!-- Choices includes -->
|
||||||
<link rel="stylesheet" href="assets/styles/css/choices.min.css?version=2.7.1">
|
<link rel="stylesheet" href="assets/styles/css/choices.min.css?version=2.7.2">
|
||||||
<script src="assets/scripts/dist/choices.min.js?version=2.7.1"></script>
|
<script src="assets/scripts/dist/choices.min.js?version=2.7.2"></script>
|
||||||
<!-- End Choices includes -->
|
<!-- End Choices includes -->
|
||||||
|
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "choices.js",
|
"name": "choices.js",
|
||||||
"version": "2.7.1",
|
"version": "2.7.2",
|
||||||
"description": "A vanilla JS customisable text input/select box plugin",
|
"description": "A vanilla JS customisable text input/select box plugin",
|
||||||
"main": "./assets/scripts/dist/choices.min.js",
|
"main": "./assets/scripts/dist/choices.min.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in a new issue