From: Doug M. <do...@cr...> - 2003-04-12 02:46:36
|
That's easy enough. My ideas: Line 142: var dynapi = new DynAPIObject(); Line 143: dynapi.version="3.0a"; Line 144: dynapi.major=3; Line 145: dynapi.minor=0; Line 146: dynapi.revision='a'; Or even a version object of some kind: dynapi.version = { getVersion : function(){ return 3.0; }; getMajor : function(){ return 3; }, getMinor : function(){ return 0; }, getRevision : function(){ return 'a'; } }; Or how about an array? dynapi.version=[3,0,'a']; Just a few ideas.. ----- Original Message ----- From: "Dan Willemsen" <da...@wi...> To: "Raymond Irving" <xw...@ya...> Cc: "DynAPI-Dev" <dyn...@li...> Sent: Friday, April 11, 2003 6:01 PM Subject: Re: [Dynapi-Dev] A few changes to DynAPI > We should also probably have this accessable via javascript, mostly for > distributing widgets, they can tell if they are compatible with the > current library > > On Fri, 2003-04-11 at 17:08, Raymond Irving wrote: > > Thanks for the feedback. > > > > Any proposals for the version.xml file? > > > > I was thinking of something like: > > > > <version> > > <major>3</major> > > <minor>0</minor> > > </version> > > > > > > -- > > Raymond Irving > > > > -- > Dan Willemsen <da...@wi...> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.471 / Virus Database: 269 - Release Date: 4/10/2003 |