Remove errors to reduce file size

This commit is contained in:
Josh Johnson 2017-07-13 09:01:24 +01:00
parent 3b350eb71e
commit 89289ab692

View file

@ -634,9 +634,6 @@ class Choices {
*/
removeItemsByValue(value) {
if (!value || !isType('String', value)) {
if (!this.config.silent) {
console.error('removeItemsByValue: No value was passed to be removed');
}
return;
}
@ -2157,9 +2154,6 @@ class Choices {
*/
_removeItem(item) {
if (!item || !isType('Object', item)) {
if (!this.config.silent) {
console.error('removeItem: No item object was passed to be removed');
}
return;
}