Update repo.js

master
Amir Torres 2014-11-10 20:02:05 -06:00
parent 082003ccd4
commit 2899545a86
1 changed files with 2 additions and 4 deletions

View File

@ -5,11 +5,9 @@ function install(){
switch(scop){
case 'host':
var request = window.navigator.mozApps.install(manifestUrl);
var msgints = 'Installation successful!';
break;
case 'pack':
var request = navigator.mozApps.installPackage(manifestUrl,opt.data || {});
var msgints = 'Installation in process!';
var request = navigator.mozApps.installPackage(manifestUrl);
break;
}
request.onsuccess = function () {