From: Raymond I. <xw...@ya...> - 2003-04-13 03:10:02
|
Line 81 of dynapi.js contains a version variable that you can use. Or you can get the version by using dynapi.version -- Raymond Irving --- Doug Melvin <do...@cr...> wrote: > 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 > > > > ------------------------------------------------------- > 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.../ __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |