title: How do I stop Joomla from including jQuery?
body: <p>I've recently upgraded from Joomla 3.2.1 to Joomla 3.2.2. </p>
  
  <p>In Joomla 3.2.1, I manually unset jQuery from being included:</p>
  
  <pre><code>$doc = JFactory::getDocument();
  
  $dontInclude = array(
  '/media/jui/js/jquery.js',
  '/media/jui/js/jquery.min.js',
  '/media/jui/js/jquery-noconflict.js',
  '/media/jui/js/jquery-migrate.js',
  '/media/jui/js/jquery-migrate.min.js',
  '/media/jui/js/bootstrap.js',
  '/media/system/js/core-uncompressed.js',
  '/media/system/js/tabs-state.js',
  '/media/system/js/core.js',
  '/media/system/js/mootools-core.js',
  '/media/system/js/mootools-core-uncompressed.js',
  );
  foreach($doc-&gt;_scripts as $key =&gt; $script){
      if(in_array($key, $dontInclude)){
          unset($doc-&gt;_scripts[$key]);
      }
  }
  </code></pre>
  
  <p>But this isn't working in Joomla 3.2.2. Is there a way to not include Joomla's jQuery in 3.2.2? </p>