Skip to content
tsongas edited this page Mar 13, 2013 · 2 revisions

Hey David wasn't sure how else to contact you so I'm adding a page here with a few ideas for functions that I think would be useful. I'm a long-time CF developer learning jQuery and found jList helpful on a recent project. That said, using CF's list functions has always been frustrating because certain functions I would use a lot are missing. Fortunately I'm guessing you'll be much easier to deal with than Adobe! Would you be willing to add the following if I write the code/tests then send you a pull request? I'm pretty new to using Github so this would be my first contribution to an open-source project, and I have to say I'm excited :).

listRemove(list1, list2) delete elements in list2 from list1 (if any found)

listReplace(list, element1, element2) replace any instances of element1 with element2

listUnion(list1, list2) concatenate lists and remove any duplicates

listIntersection(list1, list2) make a list of any common elements in list1 & list2

You can reach me at chris.tsongas at bitmojo.com if you'd like to discuss or want clarification. Oh I'm also on Trello as christsongas if you want me to add these as ideas there and move them along as I work on them.

Thanks!

Chris

Clone this wiki locally