Trying to load a JS file through yepnope with the given code:
yepnope({
load: '<?php echo base_url(); ?>static/js/highlight.min.js',
complete: function()
{
hljs.tabReplace = ' ';
hljs.initHighlightingOnLoad();
}
});
Upon checking in firebug, it seems that the JS file is being loaded twice. Is there an error in my approach as I seem to be confused?