Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 898 Bytes

README.textile

File metadata and controls

45 lines (27 loc) · 898 Bytes

KISSY for NodeJS

nodejs-kissy 实现了将 kissy 移植到 nodeJS 上运行

它依赖jsdom,htmlparser,express,connect,第一次安装请执行

npm install jsdom
npm install htmlparser
npm install express
npm install connect

通过NPM安装 nodejs-kissy

需要预装 npm

npm install kissy

通过源码安装 nodejs-kissy

需要预装 npm 和 git

git clone git://github.com/kissyteam/nodejs-kissy.git
cd nodejs-kissy/
npm install .

Hello World

新建文件test.js

var S = require('kissy').KISSY;
S.ready(function(S){
	S.log('hello world!');	
});

运行

node test.js

Using KISSY

KISSY-Calendar Demo

License

KISSY 遵守 MIT 协议