You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I notice that any functions defined in bag.js startup are no longer accessible in the global name space, eg:
bag.require(['/site.css', '/jquery.js', '/site.js'], function (err) {
if (err) {
console.log('loading error: ', err);
return
}
// code to run after loading
function testFunction() {
console.log('hello');
}
})
I did not changed much in bug.js last year. It just inserts css/js into the head, and it's your responsibility what to do in those scripts. It doesn't know anything about your code.
If you think this problem is related to bag.js - please provide a minimal example in test repo to reproduce. Or navigate commits history and point commit that could cause your case. But i suspect problem is not here.
I notice that any functions defined in bag.js startup are no longer accessible in the global name space, eg:
.How do I access these named functions as
no longer works?The text was updated successfully, but these errors were encountered: