質問

How can I programmatically check which enyo version am using? I have a JavaScript module that requires enyo, it can run on top of different versions so I want to know which is the current one.

Is there anything like enyo.getVersion()?

Thanks

役に立ちましたか?

解決

Unfortunately, prior to the recent code in GitHub, we didn't include the version number of Enyo. In the latest pilot releases you have enyo.version which is a hash containing version information. The current Enyo version is in enyo.version.enyo. There are also version numbers for the individual modules as well: e.g. enyo.version.onyx

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top