Still to come: No global for the npm version: After polling potential npm/browserify users, we have decided to keep the global namespace clean and not to expose the jQuery global in these situations. Instead, you can do it yourself with window.jQuery = window.$ = require("jquery"). That ticket didn’t make it into the beta, but you should assume you’ll need to set it yourself.
That's why after recently redoing component install , this error kept on showing up: Uncaught ReferenceError: jQuery is not defined components-foundation/js/foundation.min.js:10
Foundation should instead use the var exposed by the jQuery module :)
That's why after recently redoing
component install
, this error kept on showing up:Uncaught ReferenceError: jQuery is not defined components-foundation/js/foundation.min.js:10
Foundation should instead use the var exposed by the jQuery module :)