I'm trying to prevent Joomla! 3.4.1 from loading certain default scripts in the front-end. Prior to 3.4 template when a custom component is displayed.1, it was possible to stop scripts from loading by adding code like the following to I am excluding the top ofscripts in the template index.php file as follows:
unset($this->_scripts[JURI::root(true).'/media/jui/js/bootstrap.min.js']);
unset($this->_scripts[JURI::root(true).'/media/jui/js/jquery.min.js']);
unset($this->_scripts[JURI::root(true).'/media/jui/js/jquery-noconflict.js']);
As of Joomla! 3.4.1, this no longer works. Printing the contents of the $this->scripts array to the screen shows that it is empty on views generated by the component, but it has values and works as expected on all default Joomla! pages.
How can you stop scripts from loading within the templatecustom component screens in the newest version of Joomla! 3.4.1?