Countable v3.0.0 Release NotesRelease Date: 2017-07-13 // over 5 years ago
Countable::die. The new methods work exactly the same, apart from the name change.
Countable::oncehas been removed. The method is now available exclusively as
Countable::enablednow accepts either single elements or lists of elements. When a list is passed, the validation checks if all elements have the Countable functionality.
🚚 Options have been simplified. Support for
ignoreZeroWidthSpacehas been removed in favour of a more general
ignoreoption, which is an array of characters that should be ignored.
➕ Added a minified version.
✂ Removed legacy support. Countable now uses things like
constand expects ES5 methods to be present. This mainly drops support for IE before version 11.
⬇️ Reduced file size by almost 25%.