I am trying to load a JS file using yepnope using the below code:
yepnope({
load: '<?php echo base_url(); ?>static/js/highlight.min.js',
complete: function()
{
hljs.tabReplace = ' ';
hljs.initHighlightingOnLoad();
}
});
However when I look in firebug to see what is loading it shows that it is being loaded twice. Am I doing anything wrong because I am confused?