X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..HEAD:/docs/source/Version.html diff --git a/docs/source/Version.html b/docs/source/Version.html index 3d77e5d3..8149a538 100644 --- a/docs/source/Version.html +++ b/docs/source/Version.html @@ -3,8 +3,8 @@ The source code - - + + @@ -46,15 +46,13 @@ (function() { // Current core version -var version = '4.0.0', Version; +var version = '4.0.7', Version; Ext.Version = Version = Ext.extend(Object, { /** - * @constructor - * @param {String/Number} version The version number in the follow standard format: major[.minor[.patch[.build[release]]]] + * @param {String/Number} version The version number in the follow standard format: major[.minor[.patch[.build[release]]]] * Examples: 1.0 or 1.2.3beta or 1.2.3.4RC * @return {Ext.Version} this - * @param version */ constructor: function(version) { var parts, releaseStartIndex; @@ -188,7 +186,7 @@ var version = '4.0.0', 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()]; @@ -217,18 +215,18 @@ var version = '4.0.0', Version; 'pl': -1 }, - /** + /** * 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)); }, - /** + /** * Compare 2 specified versions, starting from left to right. If a part contains special version strings, * they are handled in the following order: * 'dev' < 'alpha' = 'a' < 'beta' = 'b' < 'RC' = 'rc' < '#' < 'pl' = 'p' < 'anything else'