Use descriptive variable name

This commit is contained in:
YUKI Hiroshi 2016-06-22 18:59:38 +09:00
parent 794ac3733c
commit 8fc304948c

View File

@ -49,8 +49,8 @@ AboutGroup.prototype = {
newChannel : function(aURI)
{
const version = Services.appinfo.platformVersion;
const comp = Services.vc.compare('48.*', version);
if (comp > 0) {
const compareResult = Services.vc.compare('48.*', version);
if (compareResult > 0) {
return Services.io.newChannel('chrome://treestyletab/content/group.xul', null, null);
}
else {