An Enjoyable UI Library
Clone or download
Pull request Compare This branch is 3190 commits behind kissyteam:master.
Latest commit 6ac1b7e Apr 19, 2011
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build log error for 404 module Apr 19, 2011
docs update template doc Mar 3, 2011
src log error for 404 module Apr 19, 2011
tools solve compress error in template Mar 29, 2011
.gitignore update overlay style Nov 24, 2010
CHANGELOG.md anim support scroll Apr 14, 2011
LICENSE.md format LICENSE using markdown style Nov 25, 2010
README.md update README Nov 26, 2010
TODO add TODOs and update tasklist Dec 13, 2010
index.html update index.html Sep 25, 2010

README.md

KISSY - An Enjoyable JavaScript Library

Vision

小巧灵活,简洁实用,使用起来让人感觉愉悦。

Keep It
    Simple & Stupid, Short & Sweet, Slim & Sexy...
Yeah!

Structure

  • build: 构建好的发布文件
  • docs: API 文档
  • src: 源码、测试等开发资源
  • tools: 打包压缩等自动化工具

Convention

原则:尽量避免潜在冲突,同时力求精简短小和见名知意。

  • 全局变量: g_ks_comp_xxx 比如:g_ks_suggest_callback
  • class/id 命名: ks-comp[-xxx] 比如:ks-editor-toolbar-item
  • data 属性命名: data-ks-comp[-xxx] 比如:data-ks-suggest
  • hook 规范: KS_Comp 比如:KS_Switchable

注意:为了避免太冗长,在保持清晰和无潜在冲突的情况下,可以打破原则,比如: