I'm trying to figure out why this works:
<script src="js/head.js"></script>
<script>head.js(<import-several-libraries-here>);</script>
<script src="code.jquery.com/jquery-1.8.3.js"></script>
<script src="code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
<script>
var j183 = $.noConflict(true);
</script>
but these don't:
<script src="js/head.js"></script>
<script>
head.js(<import-several-libraries-here>);
head.js("http://code.jquery.com/jquery-1.8.3.js");
head.js("http://code.jquery.com/ui/1.9.2/jquery-ui.js");
var j183 = $.noConflict(true);
</script>
AND
<script src="js/head.js"></script>
<script>
head.js(<import-several-libraries-here>);
head.js("http://code.jquery.com/jquery-1.8.3.js");
head.js("http://code.jquery.com/ui/1.9.2/jquery-ui.js");
</script>
<script>
var j183 = $.noConflict(true);
</script>
I've read this and tried variations, to no avail:
UPDATE
I tried a suggested answer:
head.js("http://code.jquery.com/ui/1.9.2/jquery-ui.js");
head.js("http://code.jquery.com/jquery-1.8.3.js", function() {
var j183 = $.noConflict(true);
});
and it didn't work.
According to http://headjs.com/
Maybe you should try something like this which will load the two jQuery libraries, and then call the anonymous function, which re-assigns the jQuery library to the global variable for use later.
Updated: to show how to init the library.