CFJS 1.1.11 (Bug Fix Release)

Just a quick note to let folks know that all branches of CFJS (both jQuery and non-jQuery) have been updated with a bug fix for two of the list functions, namely ListContains() and ListContainsNoCase().

Basically, in any previous version of the code, these two functions would return the list iterator value on true instead of returning an actual boolean value. False cases have always returned false.

Both functions had code like this:

for(var i = 0; i < l.length; i++){
    if(re.test(l[i])){return i;}
}

Which has been replaced with the following:

for(var i = 0; i < l.length; i++){
    if(re.test(l[i])){return true;}
}

I hope to continue making CFJS the best library available for JavaScript versions of ColdFusion functions. If you have any suggestions about how I can further the project, requests for functionality, bug reports or anything at all please comment or feel free to post your request/bug report to the issue tracker over at http://cfjs.riaforge.org.

TweetBacks
Comments
BlogCFC was created by Raymond Camden. This blog is running version 5.9.4.001. Contact Blog Owner