Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

Foundation JS not triggered #79

Open
MrChriZ opened this issue Jul 28, 2017 · 1 comment
Open

Foundation JS not triggered #79

MrChriZ opened this issue Jul 28, 2017 · 1 comment

Comments

@MrChriZ
Copy link

MrChriZ commented Jul 28, 2017

I've followed ember-cli-foundation-6-sass readme.md:
adding it to my project
running the generator ember g ember-cli-foundation-6-sass,
and updated my ember-cli-build.js too:

module.exports = function(defaults) {
var app = new EmberApp(defaults, {
// Add options here
'ember-cli-foundation-6-sass': {
'foundationJs': 'all'
}
});

I've then copied the code from : https://codepen.io/IamManchanda/pen/KmepBg?editors=1000
for a responsive menu into my application.hbs.

All of the foundation styles are working fine. However the javascript doesn't appear to have been triggered. Both menus are showing up. If I then open up chromes console and do
$(document).foundation();

Then the menu springs into action.

am I missing something?

@GCheung55
Copy link
Collaborator

@MrChriZ I think you're experiencing the same issue in #25.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants