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) newChannel : function(aURI)
{ {
const version = Services.appinfo.platformVersion; const version = Services.appinfo.platformVersion;
const comp = Services.vc.compare('48.*', version); const compareResult = Services.vc.compare('48.*', version);
if (comp > 0) { if (compareResult > 0) {
return Services.io.newChannel('chrome://treestyletab/content/group.xul', null, null); return Services.io.newChannel('chrome://treestyletab/content/group.xul', null, null);
} }
else { else {