More experimentation with SVN keywords

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@830 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jeff Schiller 2009-10-14 16:57:31 +00:00
parent 59b6e73e0b
commit b7b63157ca
2 changed files with 8 additions and 1 deletions

View File

@ -1494,7 +1494,8 @@ function svg_edit_setup() {
// set starting resolution (centers canvas)
setResolution(640,480);
var revnums = "$Rev$";
var revnums = "svg-editor.js ($Rev$) ";
revnums += svgCanvas.getVersion();
$('#copyright')[0].setAttribute("title", revnums);
return svgCanvas;

View File

@ -4789,6 +4789,12 @@ function BatchCommand(text) {
};
this.getZoom = function(){return current_zoom;};
// Function: getVersion
// Returns a string which describes the revision number of SvgCanvas.
this.getVersion = function() {
return "svgcanvas.js ($Rev$)";
};
this.clear();
};