Version: 2013.03.01
=======================================================================
Small lib to load JavaScript files async and sync, very lightweight and easy to use. Also works for CSS files.
- jQuery 1.9 (But works fine with all versions)
<script src="jQuery-latest"></script>
<script src="dependency.min.js"></script>
$(window).load(function(){
$('head').dependency({
loadDependency: [
{urlPath:"http://localhost:28289/js/date.js", scriptType:"text/javascript", async: true},
{urlPath:"http://localhost:28289/js/daterangepicker.js", scriptType:"text/javascript"},
{urlPath:"http://localhost:28289/css/style.css", scriptType:"text/css",}
]
});
});
Developer: feiochc@gmail.com Twitter: @newaeonweb Google Plus: Fernando Monteiro