Git Product home page Git Product logo

kissy's Introduction

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

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.