smartgravity / grav-theme-bones

A Grav theme built with Foundation.
MIT License
28 stars 8 forks source link

Foundation Javascript Error #29

Open ginblue opened 8 years ago

ginblue commented 8 years ago

I'm using Bones Site skeleton and a child theme via inheritance. However I have run into a problem. When I activate the child theme Foundation throws a js error “Cannot read property ‘_init’ of undefined” Foundation Core line 266.

Updated Foundation in the Bones theme from 6.1.2 (current theme version) to 6.2.1 has made no difference. Switching back to Bones from the child theme solves the issue. Javascript is not my strong point.

I've used inheritance for child themes before with no issues and have not altered any of the Bones or Foundation files other than updating to try and solve this issue. Appreciate that this is probably a Foundation issue, or is there something I should be doing in Bones that causing this error?