>Hi folks,
>
>I know this isn't a jQuery list, but I thought there might be some 
>interest over on this list, and I know there are some jQuery fans who 
>frequent CF-Talk.
>
>I've been working the CFJS plugin again tonight, and I've added eight 
>new functions and fixed some sloppy JS code that was keeping the packed 
>version of the code from working.

Cool stuff.

Just a plug/heads up but I've replicated several CF functions in my own Data 
extensions for JavaScript here (long URL):

http://www.depressedpress.com/Content/Development/JavaScript/Extensions/DP_DateExtensions/Index.cfm

The whole mess is under the BSD license - perhaps you'll find something worth 
using.
These all extend the date object in JS (either as a static or instance method):

Date.is()
Date.parseIso8601() 
*Date*.add()
*Date*.compare()
*Date*.dateFormat()
*Date*.dayOfYear()
*Date*.diff()
*Date*.iso8601Format()
*Date*.timeFormat()

There's full usage docs on the site.

I know that the GPL and BSD licenses aren't completely compatible - but I think 
they're compatible "your way" (in other words you could use BSD code in your 
GPL project but I couldn't use GPL code in my BSD project - at least that's the 
way I read it).

There are some additions to CFML dogma (for example extra dateparts, the 
ability to format case in the am/pm indicators and the ability to do 
destructive modifications).  Also the ISO8601 stuff (very useful for XML 
processing).  But I think between us we've got most of it covered.  ;^)

I can't promise bug-free code, but things have seemed to work well enough so 
far.  I'm hoping to add more convience methods (weekofyear, isleapyear, etc) 
during an upcoming lull.

Jim Davis

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276915
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to