JavaScript的面向对象的JSON风格
2016-05-20
0 0 0
暂无评分
其他
如何获取积分?
JO
JO is dedicated to make Javascript Object Oriented Programing become more easy and more elegant, by defining classes in the JSON style.
A simple demo
$jo({ $package: "jo.demo", Demo: { $constructor: function(foo) { this.foo = foo || this.foo; }, $instance: { foo: null, moo: function() { return this.foo; } }, $static: { foo: "static", moo: function() { return this.foo; } } }});var demo = new jo.demo.Demo("yeah~~");demo.moo();....
See http://code.google.com/p/jo-jsoo/wiki/Introduction for more informations.
javascript
json
风格
对象
面向
相关源码推荐
python小游戏-击打外星人
0
0
暂无评分
JavaScript制作十二小时时钟
0
0
暂无评分
workflow
0
0
暂无评分
VB 解析JSON
0
0
暂无评分
c++ TestJson
0
0
暂无评分
暂无评论