JSX 介绍
JSX 是一个静态类型、面向对象的编程语言,主要设计用来在浏览器上运行,你可以把它当作是 JavaScript 的增强版本。
下图是 JSX 和 JS 的性能比较:
示例程序:
[![](/static/assets/osapp/images/4809095db78f6545deeac634f1d55dd9.png)](http://jsx.github.com/examples/fireworks/fireworks.html) [Fireworks](http://jsx.github.com/examples/fireworks/fireworks.html) ( [source](http://jsx.github.com/examples/fireworks/fireworks.jsx)) | [![](/static/assets/osapp/images/1eb9a0acbfd23e55d832847c6725855a.png)](http://jsx.github.com/examples/shooting/shooting.html) [Shooting](http://jsx.github.com/examples/shooting/shooting.html) ( [source](http://jsx.github.com/examples/shooting/shooting.jsx)) | [![](/static/assets/osapp/images/2b72b683b69c33df9f187751ac19ef8f.png)](http://jsx.github.com/examples/box2d/box2djsx.html) [Box2D.jsx](http://jsx.github.com/examples/box2d/box2djsx.html) ( [source](https://github.com/tkihira/box2djsx/tree/kazuho/optimize)) |
JSX 官网
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。