[jQuery] Re: CFJS plugin

2007-05-02 Thread Christopher Jordan
Ariel Jakobovits wrote: in cfml you access the first element with index 1. how can you use "1 based" indexing in javascript?!? you would force everyone to remember to start at index 1 whenever they used code from this plugin. that would be ridiculous. Chris is on the right path. Thanks,

[jQuery] Re: CFJS plugin

2007-05-02 Thread Christopher Jordan
Jack, you may want to pick up ver 1.0.6 (or 1.0.6a if you're getting it from jquery.com/plugins). It has better fixes for the DollarFormat, and DecimalFormat functions. Don't worry about the repro code. I was easily able to reproduce your results, and I'm a bit taken back that I didn't notic

[jQuery] Re: CFJS plugin

2007-05-02 Thread Christopher Jordan
the toolbox. Michael -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Jordan Sent: Tuesday, May 01, 2007 7:08 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: CFJS plugin Yeah, I think it's a bug. I'll fix it.

[jQuery] Re: CFJS plugin

2007-05-02 Thread Andy Matthews
[mailto:[EMAIL PROTECTED] On Behalf Of Christopher Jordan Sent: Tuesday, May 01, 2007 10:48 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: CFJS plugin Andy, It appears that Randy Anderson (LeftCorner.com) chose to start his Arrays at index 1 instead of 0. I can see the logic behind it

[jQuery] Re: CFJS plugin

2007-05-02 Thread Michael E. Carluen
an > Sent: Tuesday, May 01, 2007 7:08 AM > To: jquery-en@googlegroups.com > Subject: [jQuery] Re: CFJS plugin > > > Yeah, I think it's a bug. I'll fix it. :o) > > Chris > > Andy Matthews wrote: > > I don't know if the array "bug" is a b

[jQuery] Re: CFJS plugin

2007-05-01 Thread Ariel Jakobovits
From: Christopher Jordan <[EMAIL PROTECTED]> To: jquery-en@googlegroups.com Sent: Tuesday, May 1, 2007 8:48:14 PM Subject: [jQuery] Re: CFJS plugin Andy, It appears that Randy Anderson (LeftCorner.com) chose to start his Arrays at index 1 instead of 0. I can see the logic behind it:

[jQuery] Re: CFJS plugin

2007-05-01 Thread Jack Killpatrick
Chris, Thx much. I tried DollarFormat using the 5/1 rev and it worked. I don't have a test case available for the DecimalFormat, sry. Much appreciated! - Jack Christopher Jordan wrote: Jack, I have fixed both of these bugs. I've made fixes to DollarFormat() and a required function, _Com

[jQuery] Re: CFJS plugin

2007-05-01 Thread Christopher Jordan
Jack, I have fixed both of these bugs. I've made fixes to DollarFormat() and a required function, _CommaForThousands(), before. I hope I've got everything right this time. I think I do. ;o) Cheers, Chris Jack Killpatrick wrote: While you're at it (fixing bugs), I think I found some more (

[jQuery] Re: CFJS plugin

2007-05-01 Thread Christopher Jordan
Andy, It appears that Randy Anderson (LeftCorner.com) chose to start his Arrays at index 1 instead of 0. I can see the logic behind it: wanting to keep things behaving as much like ColdFusion as possible. However, I disagree with this choice. I'd rather each language deal with arrays the wa

[jQuery] Re: CFJS plugin

2007-05-01 Thread Christopher Jordan
Thanks Jack. If you do have some code that you could pass on to reproduce the problem that'd be great. I specifically worked on the DollarFormat function and thought I had it all worked out. If you want you can also report bugs on RIAForge.org (cfjs.riaforge.org) if you don't I'll enter them

[jQuery] Re: CFJS plugin

2007-05-01 Thread Jack Killpatrick
While you're at it (fixing bugs), I think I found some more (in latest release): DollarFormat resulted in a number like this: $,201,445.05 DecimalFormat results in a number like 123..45 If those aren't bugs, or you need repro code, let me know. Thx, Jack Christopher Jordan wrote: Yeah, I

[jQuery] Re: CFJS plugin

2007-05-01 Thread Christopher Jordan
Yeah, I think it's a bug. I'll fix it. :o) Chris Andy Matthews wrote: I don't know if the array "bug" is a bug or a feature. Coldfusion actually starts counting arrays at 1. So it's possible that could be intentional, although given that this is a javascript plugin, it's probably a bug. ---

[jQuery] Re: CFJS plugin

2007-05-01 Thread Andy Matthews
I don't know if the array "bug" is a bug or a feature. Coldfusion actually starts counting arrays at 1. So it's possible that could be intentional, although given that this is a javascript plugin, it's probably a bug. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PRO

[jQuery] Re: CFJS plugin

2007-05-01 Thread Christopher Jordan
Ariel, Thanks for catching those. I started my plugin from another library and had to fix numerous bugs. I'm finding that I've still not caught them all. I'll address both of those issues later today. If you need something sooner for some urgent reason, let me know, and I'm sure I could sque