Index: openacs-4/packages/xowiki/tcl/yui-init.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/yui-init.tcl,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/xowiki/tcl/yui-init.tcl 14 Mar 2018 15:40:49 -0000 1.1 +++ openacs-4/packages/xowiki/tcl/yui-init.tcl 18 May 2018 09:28:49 -0000 1.2 @@ -34,8 +34,8 @@ utilities/utilities yahoo-dom-event/yahoo-dom-event } - + # # The following asset files is up to my knowledge not available via CDN # @@ -52,28 +52,35 @@ if {[file isdirectory $::acs::rootdir/packages/ajaxhelper/www/resources]} { foreach path $YUI_CSS_PATHS { - template::register_urn \ - -urn urn:ad:css:yui2:$path \ - -resource /resources/ajaxhelper/yui/$path.css + template::register_urn \ + -urn urn:ad:css:yui2:$path \ + -resource /resources/ajaxhelper/yui/$path.css } foreach path $YUI_JS_PATHS { - template::register_urn \ - -urn urn:ad:js:yui2:$path \ - -resource /resources/ajaxhelper/yui/$path.js + template::register_urn \ + -urn urn:ad:js:yui2:$path \ + -resource /resources/ajaxhelper/yui/$path.js } - + } else { set version 2.7.0 foreach path $YUI_CSS_PATHS { - template::register_urn \ - -urn urn:ad:css:yui2:$path \ - -resource //yui.yahooapis.com/$version/build/$path.css + template::register_urn \ + -urn urn:ad:css:yui2:$path \ + -resource //yui.yahooapis.com/$version/build/$path.css } foreach path $YUI_JS_PATHS { - template::register_urn \ - -urn urn:ad:js:yui2:$path \ - -resource //yui.yahooapis.com/$version/build/$path.js + template::register_urn \ + -urn urn:ad:js:yui2:$path \ + -resource //yui.yahooapis.com/$version/build/$path.js } } + +# +# Local variables: +# mode: tcl +# tcl-indent-level: 2 +# indent-tabs-mode: nil +# End: