Skip to content

Instantly share code, notes, and snippets.

@piyushchauhan2011
Last active August 29, 2015 14:07
Show Gist options
  • Save piyushchauhan2011/2d1ff91c793013245ad8 to your computer and use it in GitHub Desktop.
Save piyushchauhan2011/2d1ff91c793013245ad8 to your computer and use it in GitHub Desktop.
<!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