More experimentation with SVN keywords
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@830 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
59b6e73e0b
commit
b7b63157ca
|
@ -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();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue