xo::Page proc requireJS (public)

 xo::Page[i] requireJS name

Defined in /var/www/openacs/packages/xotcl-core/tcl/30-widget-procs.tcl

Register a JavaScript URL or inline statements for the page head. Repeated registrations retain their first position.

Parameters:
name (required)
Script URL, or inline JavaScript containing a semicolon.

Testcases:
path_resolve
[ show source ]
Show another procedure: