B2G/gaia/apps/system/js/updatable.js
/*
 * System Updates
 * Will be instanciated only once by the UpdateManager
 *
 */
System Updates
Will be instanciated only once by the UpdateManager
System Updates Will be instanciated only once by the UpdateManager
function SystemUpdatable() {
  var _ = navigator.mozL10n.get;
  this.name = _('systemUpdate');
  this.size = 0;
  this.downloading = false;
  this.paused = false;
  this.checkKnownUpdate(UpdateManager.checkForUpdates.bind(UpdateManager));
  window.addEventListener('mozChromeEvent', this);
}
function SystemUpdatable ( ) { var _ = navigator . mozL10n . get ; this . name = _ ( 'systemUpdate' ) ; this . size = 0 ; this . downloading = false ; this . paused = false ; this . checkKnownUpdate ( UpdateManager . checkForUpdates . bind ( UpdateManager ) ) ; window . addEventListener ( 'mozChromeEvent' , this ) ; }
System Updates
 Will be instanciated only once by the UpdateManager
System Updates Will be instanciated only once by the UpdateManager
// XXX: this state should be kept on the platform side // https://bugzilla.mozilla.org/show_bug.cgi?id=827090