Crafty.getVersion()

public String Crafty.getVersion()
[Returns]

表示 Crafty 当前版本的字符串

返回 crafty 的当前版本

例子

Crafty.getVersion(); //'0.5.2'