Run build

This commit is contained in:
Josh Johnson 2018-10-18 22:22:22 +01:00
parent 69ee88ae88
commit e37b051b5a
3 changed files with 10 additions and 12 deletions

View file

@ -495,12 +495,12 @@ var DEFAULT_CONFIG = exports.DEFAULT_CONFIG = {
noResultsText: 'No results found', noResultsText: 'No results found',
noChoicesText: 'No choices to choose from', noChoicesText: 'No choices to choose from',
itemSelectText: 'Press to select', itemSelectText: 'Press to select',
uniqueItemText: 'Only unique values can be added.', uniqueItemText: 'Only unique values can be added',
addItemText: function addItemText(value) { addItemText: function addItemText(value) {
return 'Press Enter to add <b>"' + (0, _utils.stripHTML)(value) + '"</b>'; return 'Press Enter to add <b>"' + (0, _utils.stripHTML)(value) + '"</b>';
}, },
maxItemText: function maxItemText(maxItemCount) { maxItemText: function maxItemText(maxItemCount) {
return 'Only ' + maxItemCount + ' values can be added.'; return 'Only ' + maxItemCount + ' values can be added';
}, },
itemComparer: function itemComparer(choice, item) { itemComparer: function itemComparer(choice, item) {
return choice === item; return choice === item;
@ -2635,7 +2635,6 @@ var Choices = function () {
var activeItems = this._store.activeItems || []; var activeItems = this._store.activeItems || [];
this.itemList.clear(); this.itemList.clear();
if (activeItems.length) {
// Create a fragment to store our list items // Create a fragment to store our list items
// (so we don't have to update the DOM for each item) // (so we don't have to update the DOM for each item)
var itemListFragment = this._createItemsFragment(activeItems); var itemListFragment = this._createItemsFragment(activeItems);
@ -2645,7 +2644,6 @@ var Choices = function () {
this.itemList.append(itemListFragment); this.itemList.append(itemListFragment);
} }
} }
}
}, { }, {
key: '_createGroupsFragment', key: '_createGroupsFragment',
value: function _createGroupsFragment(groups, choices, fragment) { value: function _createGroupsFragment(groups, choices, fragment) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long