cloudfour / cloudfour/SimpleSlideView

Normalizing some options now that noZepto

未关闭
#16 1 条评论 0 个 reaction 已指派 1 人 已被 @tylersticka 认领 在 GitHub 查看
question
主要语言
HTML
星标
257
派生
31
PR 合并指标
30 天内没有已合并 PR

描述

Hi @tylersticka

I'm seeing a couple of values getting computed for default options that I think are partially vestigial from Zepto. Specifically:

```
duration: ($.fx !== null) && ($.fx.cssPrefix !== null) ? $.fx.speeds._default : 400,
```

and

```
cssPrefix: ($.fx !== null) && ($.fx.cssPrefix !== null) ? $.fx.cssPrefix : '',
```

Not a lot of Google hits for `$.fx.cssPrefix` but it does appear to be Zepto-related. What are sane defaults for these now that `jQuery` is the only game in town?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。