Search code examples
javascriptenyo

How to check enyo version?


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


Solution

  • 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