Can we get ZURB Foundation 4 to use jQuery only, not Zepto?

I am creating a project using jQuery . I entered a jQuery reference link in ZURB Foundation 4.

I also deleted

<script>
    document.write('<script src=' +
                   ('__proto__' in {} ? 'js/vendor/zepto' : 'js/vendor/jquery') +
                   '.js><\/script>')
</script>

from the default ZURB Foundation 4 implementation.

This is normal? Or will it remove the above code causing problems elsewhere in ZURB Foundation 4?

In other words, can we force ZURB Foundation 4 to use jQuery only and not interrupt it?

+5
source share
2 answers

The snippet will always load either jQuery or Zepto, none of them. So yes, of course, you can only use jQuery.

Zepto - jQuery , . jQuery , Zepto - Internet Explorer.

:

JavaScript Zepto jQuery right . Zepto , Zepto, Zepto jQuery.

+6

, 2014 , Zurb , Zepto jQuery 2 Foundation 5.

"... " "... jQuery 2 ".

+2

All Articles