jList 1.6.0: Eight new functions added

Earlier today I pushed jList 1.6.0 to GitHub. This version of the library, which brings ColdFusion-style list handling to Javascript, adds eight new functions, bringing the total to thirty:

  • listConcatenate
    Adds one list to the end of another.
  • listDifference
    Returns the elements that are unique to each of two different lists.
  • listIntersection
    Gets the elements that are common to each of two different lists.
  • listRemove
    Removes elements in one list from another list.
    Matching is case-sensitive.
  • listRemoveNoCase
    Removes elements in one list from another list.
    Matching is not case-sensitive.
  • listReplace
    Replaces any occurrences of an element in a list with a different element.
    Matching is case-sensitive.
  • listReplaceNoCase
    Replaces any occurrences of an element in a list with a different element.
    Matching is not case-sensitive.
  • listUnion
    Combines the elements from two different lists.

For the first time, these changes were not made by me but by Chris Tsongas. This was the first time Chris had contributed to an open source project and he did a great job of adding new functionality as well as making sure all of the tests and documentation were brought up-to-date.

All documentation is updated so full details of the new functionality is on the jList GitHub page.

All eight new functions have also been added to jsFiddle should you wish to try them out first –

listConcatenate

listDifference

listIntersection

listRemove

listRemoveNoCase

listReplace

listReplaceNoCase

listUnion

jList 1.6.o can be downloaded for free from GitHub.

More:

Previously:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s