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

Version of jQuery in the main program may be different from the default version in Xitrum #1

Open
ngocdaothanh opened this issue Jan 7, 2016 · 0 comments

Comments

@ngocdaothanh
Copy link
Member

For example, Xitrum is using jQuery 2.1.4, and this version is used by xitrum-metrics via jsDefaults:

<script type="text/javascript" src={webJarsUrl("jquery/2.1.4", "jquery.js", "jquery.min.js")}></script>

The main program may force a different version:

libraryDependencies += "org.webjars" % "jquery" % "1.11.3"
dependencyOverrides += "org.webjars" % "jquery" % "1.11.3"

So when the metrics page is displayed, it can't be displayed correctly because it tries to load jQuery 2.1.4 which is missing.

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

No branches or pull requests

1 participant