We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
老的代码(基于1.3.0)用了sizzle,种子文件换成1.4.0后,找不到sizzle文件
是否要作兼容,对于类似 sizzle、datalazyload、switchable、imagezoom、waterfall这些组件,作下alias?
The text was updated successfully, but these errors were encountered:
最好应用改下吧,不能老考虑兼容,要向前看,实在不行应用代码配置alias,kissy不加了,不然会造成疑惑
在 2013年10月25日星期五,lijing00333 写道:
老的代码(基于1.3.0)用了sizzle,种子文件换成1.4.0后,找不到sizzle文件 是否要作兼容,对于类似 sizzle、datalazyload、switchable、imagezoom、waterfall这些组件,作下alias? — Reply to this email directly or view it on GitHubhttps://github.com//issues/497 .
— Reply to this email directly or view it on GitHubhttps://github.com//issues/497 .
Sorry, something went wrong.
可以,给一个兼容的写法,加在升级文档中就可以
KISSY.config({ modules: { 'sizzle':{ alias: ['node'] }, 'ajax':{ alias: ['io'] }, 'calendar':{ alias: ['gallery/calendar-deprecated/1.0/'] }, 'datalazyload':{ alias: ['gallery/datalazyload/1.0/'] }, 'switchable':{ alias: ['gallery/switchable/1.3.1/'] }, 'imagezoom':{ alias: ['gallery/imagezoom/1.0/'] }, 'waterfall':{ alias: ['gallery/waterfall/1.0/'] }, 'flash':{ alias: ['gallery/flash/1.0/'] } } });
No branches or pull requests
老的代码(基于1.3.0)用了sizzle,种子文件换成1.4.0后,找不到sizzle文件
是否要作兼容,对于类似 sizzle、datalazyload、switchable、imagezoom、waterfall这些组件,作下alias?
The text was updated successfully, but these errors were encountered: