X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/src/core/src/version/Version.js diff --git a/src/core/src/version/Version.js b/src/core/src/version/Version.js index 7096ce54..6e978b19 100644 --- a/src/core/src/version/Version.js +++ b/src/core/src/version/Version.js @@ -43,7 +43,7 @@ If you are unsure which license is appropriate for your use, please contact the (function() { // Current core version -var version = '4.0.2', Version; +var version = '4.0.7', Version; Ext.Version = Version = Ext.extend(Object, { /** @@ -183,7 +183,7 @@ var version = '4.0.2', Version; /** * Returns this format: [major, minor, patch, build, release]. Useful for comparison - * @return {Array} + * @return {Number[]} */ toArray: function() { return [this.getMajor(), this.getMinor(), this.getPatch(), this.getBuild(), this.getRelease()]; @@ -216,8 +216,8 @@ var version = '4.0.2', Version; * Converts a version component to a comparable value * * @static - * @param {Mixed} value The value to convert - * @return {Mixed} + * @param {Object} value The value to convert + * @return {Object} */ getComponentValue: function(value) { return !value ? 0 : (isNaN(value) ? this.releaseValueMap[value] || value : parseInt(value, 10));