/** * This function will load the jasmine library files * * @param string $key - Namespace for the queue * * @return void */ public static function loadJasmine($key = 'libcompojoom') { CompojoomHtml::addCSSToQueue($key, 'media/lib_compojoom/third/jasmine/jasmine.css'); CompojoomHtml::addScriptsToQueue($key, 'media/lib_compojoom/third/jasmine/jasmine.js'); CompojoomHtml::addScriptsToQueue($key, 'media/lib_compojoom/third/jasmine/jasmine-html.js'); CompojoomHtml::addScriptsToQueue($key, 'media/lib_compojoom/third/jasmine/boot.js'); }
/** * Loads qTip2 * * @param string $namespace The namespace vor CompojoomHTML script add * * @return void */ public static function qTip2($namespace) { // Load CSS CompojoomHtml::addCSSToQueue($namespace, 'media/lib_compojoom/css/jquery.qtip-2.2.1.min.css'); // Load JS JHTML::_('script', 'media/lib_compojoom/js/jquery.qtip.min.js'); }