Update javascript to use custom zepto from Foundation

Foundation uses a custom version of zepto so we need to use it.
Also update to latest foundation version.
This commit is contained in:
Andrew Senetar 2013-07-28 05:40:42 -04:00
parent c445d427d5
commit 8edc544e36
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ yepnope.errorTimeout = 3000; // set 3 second error timeout instead of 10
// zeptojs or jquery
Modernizr.load([{
test: '__proto__' in {},
yep: 'http://cdn.jsdelivr.net/zepto/1.0/zepto.min.js',
yep: 'http://cdn.jsdelivr.net/foundation/4.3.1/js/vendor/zepto.js',
nope: 'http://cdn.jsdelivr.net/jquery/1.10.2/jquery-1.10.2.min.js',
complete: function() {
if( !window.jQuery && !window.Zepto )
@ -27,7 +27,7 @@ Modernizr.load([{
// Foundation
{
load: 'http://cdn.jsdelivr.net/foundation/4.2.3/js/foundation.min.js',
load: 'http://cdn.jsdelivr.net/foundation/4.3.1/js/foundation.min.js',
complete: function(){
if(!window.Foundation)
Modernizr.load([{

File diff suppressed because one or more lines are too long