components / foundation

Shim repository for Foundation.
http://foundation.zurb.com/
11 stars 13 forks source link

jQuery 1.11 and 2.1.0: no more global #13

Closed azhang closed 9 years ago

azhang commented 10 years ago

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 :)

ericlemerdy commented 9 years ago

Even if you prpblem occurs after component install, I am affraid this repository is only an integration of bower-foundation.

Can you address this issue to the core foundation team ?

Regards, Éric