title: Can only have one anonymous define call per script file
body: <p>I'm creating monaco editor using loader.js but getting the error "Can only have one anonymous define call per script file" 2 times in console.</p>
  
  <pre><code>&lt;script src="/monaco-editor/min/vs/loader.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Code to create editor</p>
  
  <pre><code>require.config({ paths: { 'vs': '/monaco-editor/min/vs' }});
   require(['vs/editor/editor.main'], function() {                
      monacoEditor= monaco.editor.create(document.getElementById('coding-editor'), {
          value: [
          'function x() {',
          '\tconsole.log("Hello world!");',
          '}'
      ].join('\n'),
      language: 'javascript'
      });
   });
  </code></pre>
  
  <p>I tried to search the issue and found below related answer:</p>
  
  <p>Some piece of code that you are loading is invoking define with an anonymous module id. You could:</p>
  
  <p><strong>load that code through the AMD loader (i.e. manually require it) such that the AMD loader creates the <code>&lt;script&gt;</code> tag.</strong></p>
  
  <p><strong>load that code before the AMD loader (i.e. define will not be available to that piece of code)</strong></p>
  
  <p><strong>unset define for the duration of evaluation of that script (i.e. if you load it with a <code>&lt;script&gt;</code> tag, then unset define before and restore it afterwards)</strong></p>
  
  <p><strong>try to unset define.jquery, AFAIK jquery might be checking for that on the define function</strong></p>
  
  <p>This page has lot of jquery already and I understand this because of jQuery. Please help some to make me understood by example. Thanks</p>