Yabble - accessing functions loaded by yabble
<p>Am having a problem with Yabble that I have not been able to solve.</p>

<p>From within my main html I load all of my js using yabble</p>

<pre><code>&lt;script&gt;
require.setModuleRoot('./javascript/');
require.run('main')
&lt;/script&gt;
</code></pre>

<p>I have a bunch of js (gamejs related). In one file I have function changeSimulationSettings(). Later within the same page I want to take user input and access the gamejs objects and change their state. The problem I am having is that I am unable to call changeSimulationSettings. It is not defined within the current context. Yabble does so much magic I am unable to find where it is defined or how to access.</p>

<pre><code>&lt;div&gt;
&lt;button type="button" onclick="updateSettings()"&gt;Update-Settings&lt;/button&gt;
&lt;/div&gt;
&lt;script type="text/javascript"&gt;
function updateSettings(){
        // access function defined in a js loaded by yabble 
        i.e. changeSimulationSettings()
}
&lt;/script&gt;
</code></pre>

<p>All of the js is definitely being loaded as I have got functions calling each other from different files which does work. However, I am unable to call anything from js embedded within the entry web page.</p>

<p>Any help would be appreciated as I have been stuck on this one for hours and hours.</p>

<p>Thanks,</p>
