UNPKG

biojs-vis-pdbviewer

Version:

A BioJS 2.0 component to view protein structures

20 lines 792 B
___date="$Date: 2014-06-28 02:24:08 -0500 (Sat, 28 Jun 2014) $" ___svnRev="$LastChangedRevision: 1655 $" ___version="14.2.1" Clazz.declarePackage ("JSV.common"); c$ = Clazz.declareType (JSV.common, "JSVersion"); Clazz.defineStatics (c$, "VERSION", null, "VERSION_SHORT", null); { var tmpVersion = null; var tmpDate = null; var tmpSVN = null; { tmpVersion = self.___version; tmpDate = self.___date; tmpSVN = self.___svnRev; }if (tmpDate != null) tmpDate = tmpDate.substring (7, 23); if (tmpSVN != null) tmpSVN = tmpSVN.substring (22, 27); JSV.common.JSVersion.VERSION_SHORT = (tmpVersion != null ? tmpVersion : "(Unknown version)"); JSV.common.JSVersion.VERSION = JSV.common.JSVersion.VERSION_SHORT + "/SVN" + tmpSVN + "/" + (tmpDate != null ? tmpDate : "(Unknown date)"); }