Unclassified NewsBoard Code Reference

UnbRequireJs function

Add a JavaScript file to the list of required JavaScript files.

function UnbRequireJs ($file);

Parameters:

file
(string) JavaScript file basename

Remarks:

This function is usually called from a template with {require-js "name"}.

Implementation file: unb_lib/common_out.lib.php, line 2369

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.