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

Inject jQuery in a controllable way #217

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RumataEstor
Copy link
Contributor

This way it's possible to override jquery version used by ui-calendar if there are more than one on the page.

@joshkurz
Copy link
Contributor

joshkurz commented Apr 4, 2015

Is this really necessary? I have never had a use case for it? did not think was common.

@RumataEstor
Copy link
Contributor Author

I have a project jQuery 1.4 was used. I don't see a possibility to migrate it to the newer version but at the same time I want to use full calendar through ui-calendar. This means that global jQuery object may be not of the version a library expects. At the same time when a dependency is injected this way, a needed version may be provided very easily. This is the way how many other libraries do require dependencies rather than use global context.

@joshkurz
Copy link
Contributor

joshkurz commented Apr 5, 2015

yeah it makes sense. Can you update the docs so people know how to do it? Also can you rebase? there has been some changes into master, which make this merge not so pretty.

Thanks

@ballerabdude
Copy link
Contributor

bump, @RumataEstor can you update the docs, to let people know this functionality exists in this PR?

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

Successfully merging this pull request may close these issues.

3 participants