Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Help understanding enqueue-scripts.php #239

Closed
ianecross opened this issue Feb 21, 2015 · 3 comments
Closed

Help understanding enqueue-scripts.php #239

ianecross opened this issue Feb 21, 2015 · 3 comments

Comments

@ianecross
Copy link

I recently included an orbit slider on my site and everything works perfectly without uncommenting the orbit register script and enqueue script in the enqueue-scripts.php. So how is foundation.orbit.js being included?

Also the path /js/foundation/js/foundation/foundation.orbit.js doesnt exist in foundationpress theme foundation.orbit.js is located /bower_components/foundation/js/foundation/foundation.orbit.js. This has left me a bit confused, can anyone explain this?

Help would be much apprecited, thanks

@olefredrik
Copy link
Owner

I understand very well that this was confusing. A pull request that should not have been approved, has unfortunately been merged into the project a while ago. I just did a cleanup to make things more clear. Hopefully it is a bit more understandable now. Please find all details in this link #240

@ianecross
Copy link
Author

It makes sense now, so I could just comment out the components I dont need in the grunt.j file

@olefredrik
Copy link
Owner

Yup. Comment out the components you don't need in Gruntfile.js. Save and do a grunt build. That's it. :)

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