[Prototype-core] Re: isNumber or Not A Number ??

2008-09-04 Thread Станислав Анисимов
Is't this a rigth way to define types: 111 is Integer and Number '111' is Number and String 'a111' is String On Sep 4, 10:46 am, Christophe Porteneuve <[EMAIL PROTECTED]> wrote: > Станислав Анисимов a écrit : > > > Shouldn't Object.isNumber('111') be true? > > Nope. '111' is a String. > > -- >

[Prototype-core] Re: isNumber or Not A Number ??

2008-09-04 Thread kangax
On Sep 4, 5:18 am, Станислав Анисимов <[EMAIL PROTECTED]> wrote: > Is't this a rigth way to define types: > 111  is Integer and Number > '111'  is Number and String > 'a111' is String Only `111` is a number primitive. The rest two are plain strings. To find out if a value can be type-converted in

[Prototype-core] Ajax.Request vs GoogleChrome

2008-09-04 Thread Jean-Philippe Encausse
Hi, While testing Google Chrome I've just realized the function Ajax.Request.request(url) was doing something special for Konqueror| Safari|KHTML. It adds param &_= I'll set a workaround in my code but can someone explain to me why this parameter is provided ? Regards Jp --~--~-~--~

[Prototype-core] Re: Ajax.Request vs GoogleChrome

2008-09-04 Thread John-David Dalton
previous versions of Safar append a null character to the end of the query string. Prototype removed this by assigning it to a dummy variable named "_". I believe Ruby on Rails has fixed this issue on the serverside though so the Prototype hack is probably not needed and has been known to cause is

[Prototype-core] Array.prototype...

2008-09-04 Thread SimonBoris
Hi prototype team, i am Simon. I have build and application running custom library running on alot of websites. The application failed to work on one website, on IE6 & IE7, because they where using prototype. After ready your code, i have found that you where prototyping Array, witch is an nativ

[Prototype-core] Re: Array.prototype...

2008-09-04 Thread Wiktor Ihárosi
Hi Simon, There is a nice explanation in the official prototype documentation about this issue. http://prototypejs.org/api/array I am sure that this will not change in the future, so you should redesign your application if you want to use prototype. Sincerely, Wiktor On Sep 5, 1:44 am, SimonB

[Prototype-core] Ajax.InPlaceEditor onEnterEditMode callback

2008-09-04 Thread Jeremy W
Anybody know the rationale for putting the triggerCallBack for this so early in the enterEditMode function? (this is in controls.js) I wanted to use a CalendarDateSelect with InPlaceEdit and had to move this trigger line down a ways. Otherwise the form doesn't exist at the time the callback is

[Prototype-core] Re: Ajax.InPlaceEditor onEnterEditMode callback

2008-09-04 Thread Jeremy W
Oh please forgive my error. I really do know the difference between scriptaculous and prototype. Ignore my post. On Sep 4, 9:05 pm, Jeremy W <[EMAIL PROTECTED]> wrote: > Anybody know the rationale for putting the triggerCallBack for this so > early in the enterEditMode function?  (this is in co

[Prototype-core] Re: Array.prototype...

2008-09-04 Thread kangax
On Sep 4, 7:44 pm, SimonBoris <[EMAIL PROTECTED]> wrote: > Hi prototype team, i am Simon. > > I have build and application running custom library running on alot of > websites. > The application failed to work on one website, on IE6 & IE7, because > they where using prototype. > > After ready your

[Prototype-core] Re: Array.prototype...

2008-09-04 Thread SimonBoris
Thanx Kangax and Wiktor for the explanation. I do not use prototype library, it just happens that one of my client was using it on is website. There is alot of things i need to do to be fully cross-platform/ browser, and i dont like when errors result by others coders code. Anyway, that was just

[Prototype-core] Re: Array.prototype...

2008-09-04 Thread kangax
On Sep 4, 9:36 pm, SimonBoris <[EMAIL PROTECTED]> wrote: > Thanx Kangax and Wiktor for the explanation. > > I do not use prototype library, it just happens that one of my client > was using it on is website. > There is alot of things i need to do to be fully cross-platform/ > browser, and i dont l