When using this theme as the base theme and jquery_update module:

Drupal provides its own copy of jQuery (via jquery_update)
The base theme also provides its own copy of jQuery (zurb_foundation.info includes /vendor/jquery.js)

Having two separate versions of jQuery included is both bad for performance but also creates huge problems with Drupal's other javascript.

Expected behavior:
The theme shouldn't supply jQuery on its own, particularly because jQuery 1.9 is not fully compatible with Drupal 7.

Comments

chrisjlee’s picture

Priority: Normal » Major

@bmcmurray:

You bring up a good point. So here's where the problem lies:

Foundation 4 requires usage of zepto.js otherwise you'll have to roll out and use jQuery 1.9+ which is supplied by default when you download the zurb foundation theme. I actually don't know what is version of jQuery it requires for Zurb foundation 4. I'll have to get back to you on this.

So i went ahead and added this ability to use zepto. At this point, it seems like it's causing more problems than anything.

But since i was in midst of fixing the zepto situation; For the meantime, i'll disable the inclusion of the jQuery file from the vendor folder and revert usage of jQuery 1.8.2 with jQuery update.

I'm open to suggestions or (even better) patches.

chrisjlee’s picture

Status: Active » Fixed

For now committed changes: e3d973b

Feel free to reopen if you or anyone has a better ideas.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.