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

今天用这个组件发现了一个问题 不知道是不是特意而为之还是bug #2

Open
w2230030100 opened this issue Jun 3, 2015 · 4 comments

Comments

@w2230030100
Copy link

如果我设置别名的时候别名重带有.这个符号就不能被引用到 举例

//这种require("jquery.validate")就会出问题 无法识别到后面的路径
'jquery.validate':'kelepc:widget/ui/jquery.validate/1.13.0/jquery.validate.js',
//这种require("validate")就没事 可以识别后面的路径
'validate':'kelepc:widget/ui/jquery.validate/1.13.0/jquery.validate.js',

我的前任用seajs设置了一堆别名 我想迁移到fisp只能这样写别名 要不迁移工作量太大了 求大大解决

@2betop
Copy link
Contributor

2betop commented Jun 3, 2015

. 是不认识的, 我觉得你可以考虑用 jquery-validate. 替换工作也不难吧

@2betop
Copy link
Contributor

2betop commented Jun 3, 2015

fis-compoennts 里面是这个: https://github.com/fis-components/jquery-validation

你就统一改成 jquery-validation 吧

@w2230030100
Copy link
Author

@2betop 555为啥不认啊 有啥用意吗

@2betop
Copy link
Contributor

2betop commented Jun 3, 2015

因为当时参考,这个规范,follow 了里面 name 的约束。

https://github.com/componentjs/spec/blob/master/component.json/specifications.md#name

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

2 participants