Skip to content
forked from thin-js/thin.js

前端框架都太重了,自己写个羽量级的,基于html5+css3+jquery

License

Notifications You must be signed in to change notification settings

eprom2006/thin.js

 
 

Repository files navigation

更多使用说明参见:https://github.com/thin-js/thin.js/wiki

开始使用

添加对jquery的引用,thinjs.com上的版本为3.4.1。

<script src="http://thinjs.com/jquery.js"></script>

添加对 thin.js的引用。

<script src="http://thinjs.com/thin.min.js"></script>

如果你用到render以外的其他功能,还需要添加对thin.css的引用。(可选)

<link rel="stylesheet" href="http://thinjs.com/thin.css">

使用渲染器

$(selector).render({
        data:data,
        template:template
});

What's new?

V1.1

  • if 模板
  • switch case 模板
  • some bugfix

About

前端框架都太重了,自己写个羽量级的,基于html5+css3+jquery

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.8%
  • CSS 8.2%