adds custom modernizr with html5 shim, respond.js and yepnope, updates jquery to 1.7.1 and uses modernizr.load to attempt to load jquery from cdn or fallback to local copy
This commit is contained in:
parent
2dfa28cea9
commit
9919db84a3
21
index.html
21
index.html
@ -11,9 +11,9 @@
|
||||
<title>Your Page Title Here :)</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<script src="javascripts/modernizr.custom.23785.js"></script>
|
||||
|
||||
|
||||
<!-- Mobile Specific Metas
|
||||
================================================== -->
|
||||
@ -72,8 +72,19 @@
|
||||
|
||||
<!-- JS
|
||||
================================================== -->
|
||||
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
|
||||
<script src="javascripts/tabs.js"></script>
|
||||
<script>Modernizr.load([{
|
||||
load: 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js',
|
||||
callback: function(url, result, key) {
|
||||
if (!window.jQuery) {
|
||||
Modernizr.load('javascripts/jquery-1.7.1.min.js')
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
load: ['javascripts/tabs.js' /* add scripts that rely on jQuery here */ ]
|
||||
}
|
||||
]);</script>
|
||||
|
||||
|
||||
<!-- End Document
|
||||
================================================== -->
|
||||
|
4
javascripts/jquery-1.7.1.min.js
vendored
Normal file
4
javascripts/jquery-1.7.1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
4
javascripts/modernizr.custom.23785.js
vendored
Normal file
4
javascripts/modernizr.custom.23785.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user