简体   繁体   English

使用Semantic-UI的最低JQuery版本是什么

[英]What is the minimum JQuery version for using Semantic-UI

I'm using Semantic UI as a web front-end framework. 我正在使用语义UI作为Web前端框架。

I noticed some problem with JQuery version below 1.8. 我注意到低于1.8的JQuery版本存在一些问题。 I would like to know which is the inimum recommended version to use? 我想知道哪个是推荐的最低版本?

The bower.json of Semantic-UI (v1.8.1) defines jQuery 1.8 as minimum version. Semantic-UI(v1.8.1)的bower.json将jQuery 1.8定义为最低版本。 Asking Jack Lukic about this issue he said: 问杰克·卢基奇这个问题时,他说:

  • Semantic-UI Javascript is heavily based on promises, so jQuery >= 1.6 语义UI Javascript很大程度上基于Promise,因此jQuery> = 1.6
  • a lot of components are heavily built on Transitions, so bugs in older jQuery version might compromise this. 许多组件很大程度上建立在Transitions上,因此旧版jQuery中的错误可能会损害这一点。
  • beyond that there seem to be no special issues with older jQuery versions. 除此之外,旧版jQuery似乎没有特殊问题。

EDIT: As per Agent_K, the minimum version required is v1.8.1 编辑:根据Agent_K,所需的最低版本为v1.8.1

Though, I had recommended using the latest jQuery version at all times I did not consider the fact that the signatures would change when transitioning from jQuery 1 to jQuery 2. 虽然,我建议始终使用最新的jQuery版本,但我不认为从jQuery 1过渡到jQuery 2时签名会发生变化。

I'd still recommend using jQuery 1.11 so that all bugs, would have been properly addressed. 我仍然建议使用jQuery 1.11,以便所有错误均已得到正确解决。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM