[LON-CAPA-cvs] cvs: loncom /node.js/axe AxeRunner.pm
raeburn
raeburn at source.lon-capa.org
Sat Jul 18 16:05:55 EDT 2026
raeburn Sat Jul 18 20:05:55 2026 EDT
Modified files:
/loncom/node.js/axe AxeRunner.pm
Log:
- use INIT{} not BEGIN{} so cleanup() routine will be available, if called.
Index: loncom/node.js/axe/AxeRunner.pm
diff -u loncom/node.js/axe/AxeRunner.pm:1.1 loncom/node.js/axe/AxeRunner.pm:1.2
--- loncom/node.js/axe/AxeRunner.pm:1.1 Wed Dec 31 23:44:28 2025
+++ loncom/node.js/axe/AxeRunner.pm Sat Jul 18 20:05:55 2026
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Accessibility Testing
#
-# $Id: AxeRunner.pm,v 1.1 2025/12/31 23:44:28 raeburn Exp $
+# $Id: AxeRunner.pm,v 1.2 2026/07/18 20:05:55 raeburn Exp $
#
# The LearningOnline Network with CAPA
#
@@ -39,7 +39,7 @@
our ($chld_out, $chld_in, $pid);
-BEGIN {
+INIT {
my $perlvarref=&LONCAPA::Configuration::read_conf();
my $nodejsdir;
if (ref($perlvarref) eq 'HASH') {
More information about the LON-CAPA-cvs
mailing list