Last active
August 29, 2015 14:07
-
-
Save piyushchauhan2011/2d1ff91c793013245ad8 to your computer and use it in GitHub Desktop.
// source http://jsbin.com/vuhiresobire/2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Lazy Load</title> | |
</head> | |
<body> | |
</body> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/lazyload/2.0.3/lazyload-min.js"><\/script> | |
<script> | |
LazyLoad.js("//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js", function() { | |
console.log('Jquery loaded'); | |
}); | |
LazyLoad.js("//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js", function() { | |
console.log('Jquery UI loaded'); | |
}); | |
LazyLoad.js("//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js", function() { | |
console.log('Jquery another loaded'); | |
}); | |
LazyLoad.js("//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js", function() { | |
console.log('Jquery UI loaded'); | |
}); | |
</script> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment