comparison src/site.js @ 18:94e26bffd4fb

UI work
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 11 Jul 2022 12:14:05 -0600
parents 0472897e790d
children 3ea49246d6a7
comparison
equal deleted inserted replaced
17:a602a5735a37 18:94e26bffd4fb
29 err += '\ncolumn = ' + col; 29 err += '\ncolumn = ' + col;
30 if (error && error.stack) 30 if (error && error.stack)
31 err += '\nstack = ' + error.stack; 31 err += '\nstack = ' + error.stack;
32 ajax( '/error_log.js', 'err='+encodeURIComponent(err) ); 32 ajax( '/error_log.js', 'err='+encodeURIComponent(err) );
33 }; 33 };
34
35 function time(time) {
36 document.write(new Date(time).toLocaleString());
37 }