Index: openacs-4/packages/highcharts/tcl/resource-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/highcharts/tcl/resource-procs.tcl,v diff -u -N -r1.1.2.4 -r1.1.2.5 --- openacs-4/packages/highcharts/tcl/resource-procs.tcl 24 Nov 2022 14:11:08 -0000 1.1.2.4 +++ openacs-4/packages/highcharts/tcl/resource-procs.tcl 27 Nov 2022 18:15:03 -0000 1.1.2.5 @@ -147,7 +147,7 @@ } # - # So far, everything is fine, unpack the dowloaded zip file + # So far, everything is fine, unpack the downloaded zip file # foreach url [dict get $resource_info downloadURLs] { set fn [file tail $url] @@ -168,22 +168,22 @@ # # Settings for the CDN, in case it differs # - dict set urns urn:ad:js:highcharts $prefix/highcharts.min.js - dict set urns urn:ad:js:highcharts-more $prefix/highcharts-more.min.js - dict set urns urn:ad:js:highcharts/modules/exporting $prefix/modules/exporting.min.js - dict set urns urn:ad:js:highcharts/modules/accessibility $prefix/modules/accessibility.min.js + dict set URNs urn:ad:js:highcharts $prefix/highcharts.min.js + dict set URNs urn:ad:js:highcharts-more $prefix/highcharts-more.min.js + dict set URNs urn:ad:js:highcharts/modules/exporting $prefix/modules/exporting.min.js + dict set URNs urn:ad:js:highcharts/modules/accessibility $prefix/modules/accessibility.min.js } else { # # Settings for local installs # - dict set urns urn:ad:js:highcharts $prefix/highcharts.js - dict set urns urn:ad:js:highcharts-more $prefix/highcharts-more.js - dict set urns urn:ad:js:highcharts/modules/exporting $prefix/modules/exporting.js - dict set urns urn:ad:js:highcharts/modules/accessibility $prefix/modules/accessibility.js + dict set URNs urn:ad:js:highcharts $prefix/highcharts.js + dict set URNs urn:ad:js:highcharts-more $prefix/highcharts-more.js + dict set URNs urn:ad:js:highcharts/modules/exporting $prefix/modules/exporting.js + dict set URNs urn:ad:js:highcharts/modules/accessibility $prefix/modules/accessibility.js } - foreach {URN resource} $urns { + foreach {URN resource} $URNs { template::register_urn \ -urn $URN \ -resource $resource \