X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..refs/heads/master:/docs/source/Version.html diff --git a/docs/source/Version.html b/docs/source/Version.html index 1ee47ffd..8149a538 100644 --- a/docs/source/Version.html +++ b/docs/source/Version.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/**
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
  * @author Jacky Nguyen <jacky@sencha.com>
  * @docauthor Jacky Nguyen <jacky@sencha.com>
  * @class Ext.Version
@@ -29,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;
@@ -171,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()];
@@ -200,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'
@@ -310,4 +325,6 @@ var version = '4.0.0', Version;
     Ext.setVersion('core', version);
 
 })();
-
\ No newline at end of file +
+ +