kissy 1.4.0 released
Post on 12-Sep-2014
454 views
DESCRIPTION
TRANSCRIPT
KISSY 1.4.0 is released
KISSY 1.4.0
• New Logo!
KISSY 1.4.0
• New Homepage
KISSY 1.4
• 应用于
–首页 taobao.com
– ipad 版 item.taobao.com
–北研酒店业务
Get
• https://github.com/kissyteam/kissy/archive/v1.4.0.zip
• npm: npm install kissy
• bower: bower install kissy
• cdn:
– <script src="http://g.tbcdn.cn/kissy/k/1.4.0/seed-min.js" data-config="{combine:true}"></script>
what’s new
• http://docs.kissyui.com/1.4/docs/html/guideline/upgrade.html
模块变更
• 删除 kissy.js,请 combo 使用 seed.js
• sizzle 移除,核心支持标准 css3 选择器
• calendar/datalazyload/switchable/imagezoom/waterfall /flash 移到 gallery,欢迎一起维护
– alias 可以用于兼容
seed
• loader: 全球化 i18n 支持
• loader: combo 模式的具名模块和非 combo 模式的匿名模块的混合加载
• KISSY.setImmediate 更快的异步执行
promise
• done 方法支持
–抛出异常到控制台
• promise 支持
– anim 帧通知
CSS3 SELECTOR
• 去除 sizzle
• 核心透明支持 css3 选择器
– ie<9 条件加载模拟实现
anim
• promise api
• support transition(条件加载)
• support transform
base
• 完整类体系
• 合并 rich-base
• 推荐 Base.extend
– initializer
– destructor
– _onSet
– plugin
– callSuper 替代 superclass.xx
date
• date/gregorian
–日期工具模块
• date/format
–日期格式化模块
• date/picker
–日历模块
• date/popup-picker
–弹出日历模块
touch
• 兼容性提升
• 支持 windows 设备
xtemplate
• macro
• root 根作用域
• 模块 include
• 推荐:优化离线编译代码大小
– kissy-xtemplate
Scroll-view
• scroll-view
–支持触屏拖放(条件加载)
• scroll-view/plugin/scrollbar
–滚动条插件
• scroll-view/plugin/pull-to-refresh
–下拉刷新
What’s next
• 模块细化
– Io
• 基础模块
– graphics
– Router/model/navigation-view
• editor 细化
– Range/selection
– plugin gallery
感谢
• KISSY 核心小组
• gallery 平台小组
• 首页优化小组
• detail 多终端小组
• See u next year!