From c0249ffc131d7f798704003e8c36f8c8c3364ca9 Mon Sep 17 00:00:00 2001 From: Josh Johnson Date: Sat, 30 Jul 2016 16:13:01 +0100 Subject: [PATCH] Housekeeping --- README.md | 7 ------- index.html | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/README.md b/README.md index 85c3af1..6f429b3 100644 --- a/README.md +++ b/README.md @@ -67,13 +67,6 @@ A lightweight, configurable select box/text input plugin. Similar to Select2 and flippedState: 'is-flipped', loadingState: 'is-loading', }, - sortFunction: (a, b) => { - const labelA = (a.label || a.value).toLowerCase(); - const labelB = (b.label || b.value).toLowerCase(); - if (labelA < labelB) return -1; - if (labelA > labelB) return 1; - return 0; - }, callbackOnInit: () => {}, callbackOnAddItem: (id, value, passedInput) => {}, callbackOnRemoveItem: (id, value, passedInput) => {}, diff --git a/index.html b/index.html index 07fd312..e565040 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@

Choices

A lightweight, configurable select box/text input plugin. Similar to Select2 and Selectize but without the jQuery dependency.

-

For all config options, visit https://github.com/jshjohnson/Choices

+

For all config options, visit the GitHub repo.

Text inputs