exprozor
Tera Contributor

Thanks @Ankur Bawiskar 
tried using

g_ui_scripts.getUIScript('foo.bar').then(function(script) {
   script.helloWorld();
});

but I get onChange script error: ReferenceError: g_ui_scripts is not defined function() { [native code] }Note that both my UI script and Client script is in scope