Is system.js adding stuff to my javascript?
<p>I am trying to get JQWidgets to work.  It has a jsxcore.js file that defines the following variable:</p>

<pre><code> var jqxBaseFramework = window.minQuery || window.jQuery;
</code></pre>

<p>Then in other files, this variable is used.  But I am getting an error that says <code>jqxBaseFramework is not defined</code> in the very next file.</p>

<p>I noticed that when I <code>system.import</code> a file, this added to the top of it:</p>

<pre><code>  (function(require, exports, module, __filename, __dirname, global, GLOBAL) {
</code></pre>

<p>This causes variables that would be in scope to be out of scope.  </p>

<p>Is system.js doing this?  <strong>If so, Is there a work around to the scope issue?</strong></p>

<p>If not, I am going to have to go add that variable to the top of each file.... Not fun as there are quite a few.</p>