Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use nodejs dependency injection to pass jQuery object instead of window.$ #35

Closed
david-vde opened this issue May 22, 2017 · 2 comments
Closed

Comments

@david-vde
Copy link

Hello

I'm trying to inject jQUery as a dependency in the typewatch plugin but it does not works...

var $ = require("jquery");
require('jquery.typewatch', {'jQuery': $});

I'm forced to works with the window object, what is not cool if I want to use multiple jQuery version.

window.$ = require("jquery");
require('jquery.typewatch');

Any advice?

@github-actions
Copy link

This issue is stale because it has been open 90 days with no activity. Remove stale label, add a comment, or this will be closed in 5 days.

@github-actions
Copy link

This issue was closed due to no activity.

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

No branches or pull requests

1 participant