More experimentation with SVN keywords
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@830 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -1494,7 +1494,8 @@ function svg_edit_setup() {
|
|||||||
// set starting resolution (centers canvas)
|
// set starting resolution (centers canvas)
|
||||||
setResolution(640,480);
|
setResolution(640,480);
|
||||||
|
|
||||||
var revnums = "$Rev$";
|
var revnums = "svg-editor.js ($Rev$) ";
|
||||||
|
revnums += svgCanvas.getVersion();
|
||||||
$('#copyright')[0].setAttribute("title", revnums);
|
$('#copyright')[0].setAttribute("title", revnums);
|
||||||
|
|
||||||
return svgCanvas;
|
return svgCanvas;
|
||||||
|
|||||||
@@ -4789,6 +4789,12 @@ function BatchCommand(text) {
|
|||||||
};
|
};
|
||||||
this.getZoom = function(){return current_zoom;};
|
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();
|
this.clear();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user