Foundation-sites: Foundation.utils not available in foundation6

Created on 11 Dec 2015  ·  1Comment  ·  Source: foundation/foundation-sites

I searched for random_str in the foundation.js of foundation version 6 but this function does not exist.

Also Foundation.utils is reported as undefined when doing:

console.log(Foundation.utils);

I have initialized foundation6 before with:

<script type="text/javascript">   
   $(function(){
     $(document).foundation();  
   }); // end jquery
</script>
javascript 🐛bug

>All comments

This isn't a bug, we simple changed the structure of our utils, removed quite a few things and added a few others. I would recommend checking out Foundation JS Utilities page on our docs to see what is available.

Was this page helpful?
0 / 5 - 0 ratings