Re: [Dynapi-Dev] is.mac

2001-06-08 Thread Michael Pemberton
I see i big use for it. boolean values are easier / faster to test than string comparisons. Michael Bürge wrote: > this is from an older version of the api (don't know which one exactly): > > if ((this.win32=(ua.indexOf("win")>-1))) this.platform="win32"; > else if ((this.mac=(ua.indexO

Re: [Dynapi-Dev] is.mac

2001-06-08 Thread Michael Bürge
this is from an older version of the api (don't know which one exactly): if ((this.win32=(ua.indexOf("win")>-1))) this.platform="win32"; else if ((this.mac=(ua.indexOf("mac")>-1))) this.platform="mac"; ^^^ it buried in the code, but it is (was) there. it could be don

RE: [Dynapi-Dev] is.mac

2001-06-08 Thread Andy Edmonds
Howdy, don't know the answer to this one... but I'm digging into dyn-api. Need to know the DHTML variances of the mac platform for work reasons. So, if anybody needs mac testing, get in touch. Perhaps a dedicated mac mailing list would be appropriate? Seems like there's some ground to cover on

Re: [Dynapi-Dev] is.mac

2001-06-08 Thread Robert Rainwater
I don't remember ever having an is.mac. Regardless, we use the syntax: is.platform=="mac" -- Robert Rainwater On 6/8/2001, 4:37:47 PM EST, Michael wrote about "[Dynapi-Dev] is.mac": > what happened to is.mac? > it had been added for convenience some time ago and now its gone. > could some