rename updateInfo to appUpdateInfo

This commit is contained in:
Girish Ramakrishnan
2014-09-02 11:15:40 -07:00
parent 6378ad34e0
commit b0d220b409
+3 -3
View File
@@ -17,12 +17,12 @@ function Updater() {
this._boxUpdateManifestUrl = null;
// this._boxUpdateManifestUrl = 'http://localhost:8000/VERSIONS.json';
this._boxUpdate = null;
this.updateInfo = null;
this._appUpdateInfo = null;
}
Updater.prototype.availableUpdate = function () {
return {
apps: this.updateInfo,
apps: this._appUpdateInfo,
box: this._boxUpdate
};
@@ -45,7 +45,7 @@ Updater.prototype._check = function () {
debug('check: ', result.body);
that.updateInfo = result.body;
that._appUpdateInfo = result.body;
});
});