update : function update() { logger.log('update'); // Only FFOS supports update (in non-packaged hosted mode) // This occurs when manifest installed in the device // has older version than manifest updated by the appcache // a new mozApp.install is required (so that user can re-approve manifest.webapp) install.install(); location.hash = '#/about'; },
install : function install() { logger.log('install'); install.install(); location.hash = '#/about'; },