I’m trying to create a javascript plasmoid with multiple modules.  My main.js file includes another script file; my problem is that I’m unable to reference the variables and functions declared in the included file.  Example:<br>
<br>[lib.js]<br>var name = “Amos”;<br><br><br>[main.js]<br>plasmoid.include(“lib.js”);<br>print(name);<br><br>When I run the plasmoid, I get a message stating that x is undefined.  I’m I referencing the variables incorrectly or is there some other way to achieve what I want?<br>
<br>Thanks,<br>Amos Kariuki<br>