Skip to content

Instantly share code, notes, and snippets.

@nextechu
Created March 19, 2014 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nextechu/9648679 to your computer and use it in GitHub Desktop.
Save nextechu/9648679 to your computer and use it in GitHub Desktop.
<script>
Modernizr.load([ {
load: 'http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.6.1.min.js',
complete: function () {
if (!window.jQuery) {
Modernizr.load('../Scripts/jquery-1.6.1.min.js');
}
}},
{
test: Modernizr.canvas,
nope: '../Scripts/excanvas.js',
complete: function () {
Modernizr.load('../Scripts/eventmap.js');
}
}]);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment