Foundation-for-Jekyll-sites / jekyll-foundation

Start your Jekyll (v3) project with Zurb Foundation for Sites (v6, sass).
MIT License
179 stars 64 forks source link

Foundation.MediaQuery is Undefined? #32

Closed NathanLawrence closed 8 years ago

NathanLawrence commented 8 years ago

When executing line 260, I'm getting this error:

Foundation.MediaQuery._init();

foundation.core.js:266 Uncaught TypeError: Cannot read property '_init' of undefined

Perhaps it's something I'm doing wrong (I feel a little over my head, as I'm working with Foundation's JS for the first time), but I fail to comprehend where an error like this would be coming from. window.Foundation also doesn't seem to have a property of MediaQuery, though...

NathanLawrence commented 8 years ago

Update: Thanks to #1 I have realized I am a moron and everything I needed was just commented out. Will likely submit pull request to add more documentation on that to the "Getting Started" page, if that's okay.