1
0
mirror of https://github.com/arsenetar/pelican-red.git synced 2024-11-22 11:19:02 +00:00

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 // zeptojs or jquery
Modernizr.load([{ Modernizr.load([{
test: '__proto__' in {}, 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', nope: 'http://cdn.jsdelivr.net/jquery/1.10.2/jquery-1.10.2.min.js',
complete: function() { complete: function() {
if( !window.jQuery && !window.Zepto ) if( !window.jQuery && !window.Zepto )
@ -27,7 +27,7 @@ Modernizr.load([{
// Foundation // 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(){ complete: function(){
if(!window.Foundation) if(!window.Foundation)
Modernizr.load([{ Modernizr.load([{

File diff suppressed because one or more lines are too long