avoid showing the version number when running trunk

git-svn-id: http://google-refine.googlecode.com/svn/trunk@810 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Stefano Mazzocchi 2010-05-18 00:30:26 +00:00
parent ee82ec2642
commit 18ce4b68b7

View File

@ -200,9 +200,8 @@ function onLoad() {
$("#more-options").show();
});
$("#gridworks-version").text(
"Version " + GridworksVersion.version + "-" + GridworksVersion.revision
);
var version = (GridworksVersion.version != "$VERSION") ? "Version " + GridworksVersion.version + "-" + GridworksVersion.revision : "";
$("#gridworks-version").text(version);
var script = $('<script></script>')
.attr("src", "http://freebase-gridworks.googlecode.com/svn/support/releases.js")