Is there a way to make the following work with $script.js:
control.js
$script('accounts.js', function() { // fnA }); accounts.js
$script('util.js', function() { // fnB }); I would have hoped that fnB is executed before fnA, but it's not. Therefore, namespaces and objects created in fnB are not available to fnA, namely the accounts functionality.
util.js contains only a namespace function.