Even that should be unnessesary, as the API uses is.whatever and
never uses DynAPI.browser
----- Original Message -----
From: "Michael Bürge" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 29, 2001 7:16 AM
Subject: Re: [Dynapi-Dev] is DynAPI.browser being used anywhere?


> why not do it like the following:
>
> is = new Browser();
> if (typeof DynAPI == 'object') DynAPI.browser = is;
>
> this will work in all situations
>
> Michael
>
> ps: sorry richard for getting this twice. i just did a reply without
looking
> at the address. wasn't this supposed to be fixed?
>
> > From: "Richard Bennett" <[EMAIL PROTECTED]>
> > Date: Mon, 29 Oct 2001 12:43:45 +0100
> > To: <[EMAIL PROTECTED]>
> > Subject: [Dynapi-Dev] is DynAPI.browser being used anywhere?
> >
> > Hi,
> > I was wondering if we actually use DynAPI.browser at all?
> > currently it is being initialized in browser.js, like this:
> >
> > is = DynAPI.browser = new Browser();
> >
> > this means the browser.js file will cause errors when loaded outside a
> > DynAPI context, or before the other Dynapi files are loaded.
> >
> > If we are not using DynAPI.browser anywhere, we can change the line in
> > browser.js too:
> >
> > is = new Browser();
> >
> > making the file much more flexible in use.
> >
> > Richard.
> > www.richardinfo.com
> >
> >
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> > http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/
> >
>
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/
>


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/

Reply via email to