cookutils diff lighttpd/cooker.js @ rev 905

cook: got separate {pre;post}_{install;remove} functions for every package; tweak copy(); lighttpd/index.cgi: fix links with '+' in activity log.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 27 16:23:38 2017 +0300 (2017-05-27)
parents 2aaf73fe2cd4
children f4e577c714e2
line diff
     1.1 --- a/lighttpd/cooker.js	Thu May 11 00:17:06 2017 +0300
     1.2 +++ b/lighttpd/cooker.js	Sat May 27 16:23:38 2017 +0300
     1.3 @@ -1,6 +1,6 @@
     1.4  //
     1.5  // Set of scripts for SliTaz Cooker
     1.6 -// that make the better user interaction with it
     1.7 +// that makes for better user interaction with it
     1.8  //
     1.9  
    1.10  
    1.11 @@ -38,14 +38,14 @@
    1.12  
    1.13  function stopUpdating() {
    1.14  	clearInterval(upID);
    1.15 -	// Also remove the table row containing gauge because it will be no actual anymore
    1.16 +	// Also remove the table row containing gauge because it will not be actual anymore
    1.17  	document.getElementById('pct').innerHTML = '';
    1.18  	// first "parentElement" of gauge is <td>, second - is <tr>
    1.19  	document.getElementById('gauge').parentElement.parentElement.remove();
    1.20  }
    1.21  
    1.22  
    1.23 -// Decide whether we need to update percentage
    1.24 +// Decide whether we need to update percentages
    1.25  
    1.26  if (typeof updatePkg !== 'undefined')
    1.27  	startUpdating(updatePkg);
    1.28 @@ -73,7 +73,7 @@
    1.29  }
    1.30  
    1.31  
    1.32 -// Resize the iframe containing document to fit it's height without scrolling
    1.33 +// Resize the iframe containing document to fit its height without scrolling
    1.34  
    1.35  function resizeIframe(theframe) {
    1.36  	var height = theframe.contentWindow.document.body.scrollHeight;