X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/output/Ext.Version.js diff --git a/docs/output/Ext.Version.js b/docs/output/Ext.Version.js index a5a69374..1c2320d9 100644 --- a/docs/output/Ext.Version.js +++ b/docs/output/Ext.Version.js @@ -1,477 +1,530 @@ Ext.data.JsonP.Ext_Version({ - "tagname": "class", - "name": "Ext.Version", - "doc": "

A utility class that wrap around a string version number and provide convenient\nmethod to perform comparison. See also: compare. Example:

\n\n
var version = new Ext.Version('1.0.2beta');\nconsole.log(\"Version is \" + version); // Version is 1.0.2beta\n\nconsole.log(version.getMajor()); // 1\nconsole.log(version.getMinor()); // 0\nconsole.log(version.getPatch()); // 2\nconsole.log(version.getBuild()); // 0\nconsole.log(version.getRelease()); // beta\n\nconsole.log(version.isGreaterThan('1.0.1')); // True\nconsole.log(version.isGreaterThan('1.0.2alpha')); // True\nconsole.log(version.isGreaterThan('1.0.2RC')); // False\nconsole.log(version.isGreaterThan('1.0.2')); // False\nconsole.log(version.isLessThan('1.0.2')); // True\n\nconsole.log(version.match(1.0)); // True\nconsole.log(version.match('1.0.2')); // True\n
\n", - "extends": null, - "mixins": [ - - ], - "alternateClassNames": [ + "allMixins": [ ], - "xtype": null, - "author": "Jacky Nguyen ", + "deprecated": null, "docauthor": "Jacky Nguyen ", - "singleton": false, - "private": false, - "cfg": [ + "members": { + "cfg": [ - ], - "method": [ - { - "tagname": "method", - "name": "Version", - "member": "Ext.Version", - "doc": "\n", - "params": [ - { - "type": "String/Number", - "name": "version", - "doc": "

The version number in the follow standard format: major[.minor[.patch[.build[release]]]]\nExamples: 1.0 or 1.2.3beta or 1.2.3.4RC

\n", - "optional": false + ], + "method": [ + { + "deprecated": null, + "alias": null, + "href": "Version.html#Ext-Version-method-constructor", + "tagname": "method", + "protected": false, + "shortDoc": " ...", + "static": false, + "params": [ + { + "type": "String/Number", + "optional": false, + "doc": "

The version number in the follow standard format: major[.minor[.patch[.build[release]]]]\nExamples: 1.0 or 1.2.3beta or 1.2.3.4RC

\n", + "name": "version" + } + ], + "private": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/version/Version.js", + "doc": "\n", + "owner": "Ext.Version", + "name": "Version", + "html_filename": "Version.html", + "return": { + "type": "Ext.Version", + "doc": "

this

\n" }, - { - "type": "Object", - "name": "version", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "Ext.Version", - "doc": "

this

\n" + "linenr": 35 }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/version/Version.js", - "linenr": 35, - "html_filename": "Version.html", - "href": "Version.html#Ext-Version-method-constructor", - "shortDoc": "\n" - }, - { - "tagname": "method", - "name": "compare", - "member": "Ext.Version", - "doc": "

Compare 2 specified versions, starting from left to right. If a part contains special version strings,\nthey are handled in the following order:\n'dev' < 'alpha' = 'a' < 'beta' = 'b' < 'RC' = 'rc' < '#' < 'pl' = 'p' < 'anything else'

\n", - "params": [ - { - "type": "String", - "name": "current", - "doc": "

The current version to compare to

\n", - "optional": false + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Version.html#Ext-Version-method-compare", + "shortDoc": "Compare 2 specified versions, starting from left to right. ...", + "static": true, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/version/Version.js", + "private": false, + "params": [ + { + "type": "String", + "optional": false, + "doc": "

The current version to compare to

\n", + "name": "current" + }, + { + "type": "String", + "optional": false, + "doc": "

The target version to compare to

\n", + "name": "target" + } + ], + "name": "compare", + "owner": "Ext.Version", + "doc": "

Compare 2 specified versions, starting from left to right. If a part contains special version strings,\nthey are handled in the following order:\n'dev' < 'alpha' = 'a' < 'beta' = 'b' < 'RC' = 'rc' < '#' < 'pl' = 'p' < 'anything else'

\n", + "linenr": 212, + "return": { + "type": "Number", + "doc": "

Returns -1 if the current version is smaller than the target version, 1 if greater, and 0 if they're equivalent

\n" }, - { - "type": "String", - "name": "target", - "doc": "

The target version to compare to

\n", - "optional": false - } - ], - "return": { - "type": "Number", - "doc": "

Returns -1 if the current version is smaller than the target version, 1 if greater, and 0 if they're equivalent

\n" + "html_filename": "Version.html" }, - "private": false, - "static": true, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/version/Version.js", - "linenr": 214, - "html_filename": "Version.html", - "href": "Version.html#Ext-Version-method-compare", - "shortDoc": "Compare 2 specified versions, starting from left to right. If a part contains special version strings,\nthey are handl..." - }, - { - "tagname": "method", - "name": "deprecate", - "member": "Ext.Version", - "doc": "

Create a closure for deprecated code.

\n\n
// This means Ext.oldMethod is only supported in 4.0.0beta and older.\n// If Ext.getVersion('extjs') returns a version that is later than '4.0.0beta', for example '4.0.0RC',\n// the closure will not be invoked\nExt.deprecate('extjs', '4.0.0beta', function() {\n    Ext.oldMethod = Ext.newMethod;\n\n    ...\n});\n
\n", - "params": [ - { - "type": "String", - "name": "packageName", - "doc": "

The package name

\n", - "optional": false + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Version.html#Ext-Version-method-deprecate", + "shortDoc": "Create a closure for deprecated code. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/version/Version.js", + "private": false, + "params": [ + { + "type": "String", + "optional": false, + "doc": "

The package name

\n", + "name": "packageName" + }, + { + "type": "String", + "optional": false, + "doc": "

The last version before it's deprecated

\n", + "name": "since" + }, + { + "type": "Function", + "optional": false, + "doc": "

The callback function to be executed with the specified version is less than the current version

\n", + "name": "closure" + }, + { + "type": "Object", + "optional": false, + "doc": "

The execution scope (this) if the closure

\n", + "name": "scope" + } + ], + "name": "deprecate", + "owner": "Ext.Version", + "doc": "

Create a closure for deprecated code.

\n\n
// This means Ext.oldMethod is only supported in 4.0.0beta and older.\n// If Ext.getVersion('extjs') returns a version that is later than '4.0.0beta', for example '4.0.0RC',\n// the closure will not be invoked\nExt.deprecate('extjs', '4.0.0beta', function() {\n    Ext.oldMethod = Ext.newMethod;\n\n    ...\n});\n
\n", + "linenr": 283, + "return": { + "type": "void", + "doc": "\n" }, - { - "type": "String", - "name": "since", - "doc": "

The last version before it's deprecated

\n", - "optional": false - }, - { - "type": "Function", - "name": "closure", - "doc": "

The callback function to be executed with the specified version is less than the current version

\n", - "optional": false - }, - { - "type": "Object", - "name": "scope", - "doc": "

The execution scope (this) if the closure

\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" + "html_filename": "Version.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/version/Version.js", - "linenr": 285, - "html_filename": "Version.html", - "href": "Version.html#Ext-Version-method-deprecate", - "shortDoc": "Create a closure for deprecated code.\n\n// This means Ext.oldMethod is only supported in 4.0.0beta and older.\n// If Ex..." - }, - { - "tagname": "method", - "name": "equals", - "member": "Ext.Version", - "doc": "

Returns whether this version equals to the supplied argument

\n", - "params": [ - { - "type": "String/Number", - "name": "target", - "doc": "

The version to compare with

\n", - "optional": false - } - ], - "return": { - "type": "Boolean", - "doc": "

True if this version equals to the target, false otherwise

\n" + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Version.html#Ext-Version-method-equals", + "shortDoc": "Returns whether this version equals to the supplied argument ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/version/Version.js", + "private": false, + "params": [ + { + "type": "String/Number", + "optional": false, + "doc": "

The version to compare with

\n", + "name": "target" + } + ], + "name": "equals", + "owner": "Ext.Version", + "doc": "

Returns whether this version equals to the supplied argument

\n", + "linenr": 144, + "return": { + "type": "Boolean", + "doc": "

True if this version equals to the target, false otherwise

\n" + }, + "html_filename": "Version.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/version/Version.js", - "linenr": 146, - "html_filename": "Version.html", - "href": "Version.html#Ext-Version-method-equals", - "shortDoc": "

Returns whether this version equals to the supplied argument

\n" - }, - { - "tagname": "method", - "name": "getBuild", - "member": "Ext.Version", - "doc": "

Returns the build component value

\n", - "params": [ + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Version.html#Ext-Version-method-getBuild", + "shortDoc": "Returns the build component value ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/version/Version.js", + "private": false, + "params": [ - ], - "return": { - "type": "Number", - "doc": "

build

\n" + ], + "name": "getBuild", + "owner": "Ext.Version", + "doc": "

Returns the build component value

\n", + "linenr": 110, + "return": { + "type": "Number", + "doc": "

build

\n" + }, + "html_filename": "Version.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/version/Version.js", - "linenr": 112, - "html_filename": "Version.html", - "href": "Version.html#Ext-Version-method-getBuild", - "shortDoc": "

Returns the build component value

\n" - }, - { - "tagname": "method", - "name": "getComponentValue", - "member": "Ext.Version", - "doc": "

Converts a version component to a comparable value

\n", - "params": [ - { + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Version.html#Ext-Version-method-getComponentValue", + "shortDoc": "Converts a version component to a comparable value ...", + "static": true, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/version/Version.js", + "private": false, + "params": [ + { + "type": "Mixed", + "optional": false, + "doc": "

The value to convert

\n", + "name": "value" + } + ], + "name": "getComponentValue", + "owner": "Ext.Version", + "doc": "

Converts a version component to a comparable value

\n", + "linenr": 201, + "return": { "type": "Mixed", - "name": "value", - "doc": "

The value to convert

\n", - "optional": false - } - ], - "return": { - "type": "Mixed", - "doc": "\n" + "doc": "\n" + }, + "html_filename": "Version.html" }, - "private": false, - "static": true, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/version/Version.js", - "linenr": 203, - "html_filename": "Version.html", - "href": "Version.html#Ext-Version-method-getComponentValue", - "shortDoc": "

Converts a version component to a comparable value

\n" - }, - { - "tagname": "method", - "name": "getMajor", - "member": "Ext.Version", - "doc": "

Returns the major component value

\n", - "params": [ + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Version.html#Ext-Version-method-getMajor", + "shortDoc": "Returns the major component value ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/version/Version.js", + "private": false, + "params": [ - ], - "return": { - "type": "Number", - "doc": "

major

\n" + ], + "name": "getMajor", + "owner": "Ext.Version", + "doc": "

Returns the major component value

\n", + "linenr": 86, + "return": { + "type": "Number", + "doc": "

major

\n" + }, + "html_filename": "Version.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/version/Version.js", - "linenr": 88, - "html_filename": "Version.html", - "href": "Version.html#Ext-Version-method-getMajor", - "shortDoc": "

Returns the major component value

\n" - }, - { - "tagname": "method", - "name": "getMinor", - "member": "Ext.Version", - "doc": "

Returns the minor component value

\n", - "params": [ + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Version.html#Ext-Version-method-getMinor", + "shortDoc": "Returns the minor component value ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/version/Version.js", + "private": false, + "params": [ - ], - "return": { - "type": "Number", - "doc": "

minor

\n" + ], + "name": "getMinor", + "owner": "Ext.Version", + "doc": "

Returns the minor component value

\n", + "linenr": 94, + "return": { + "type": "Number", + "doc": "

minor

\n" + }, + "html_filename": "Version.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/version/Version.js", - "linenr": 96, - "html_filename": "Version.html", - "href": "Version.html#Ext-Version-method-getMinor", - "shortDoc": "

Returns the minor component value

\n" - }, - { - "tagname": "method", - "name": "getPatch", - "member": "Ext.Version", - "doc": "

Returns the patch component value

\n", - "params": [ + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Version.html#Ext-Version-method-getPatch", + "shortDoc": "Returns the patch component value ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/version/Version.js", + "private": false, + "params": [ - ], - "return": { - "type": "Number", - "doc": "

patch

\n" + ], + "name": "getPatch", + "owner": "Ext.Version", + "doc": "

Returns the patch component value

\n", + "linenr": 102, + "return": { + "type": "Number", + "doc": "

patch

\n" + }, + "html_filename": "Version.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/version/Version.js", - "linenr": 104, - "html_filename": "Version.html", - "href": "Version.html#Ext-Version-method-getPatch", - "shortDoc": "

Returns the patch component value

\n" - }, - { - "tagname": "method", - "name": "getRelease", - "member": "Ext.Version", - "doc": "

Returns the release component value

\n", - "params": [ + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Version.html#Ext-Version-method-getRelease", + "shortDoc": "Returns the release component value ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/version/Version.js", + "private": false, + "params": [ - ], - "return": { - "type": "Number", - "doc": "

release

\n" + ], + "name": "getRelease", + "owner": "Ext.Version", + "doc": "

Returns the release component value

\n", + "linenr": 118, + "return": { + "type": "Number", + "doc": "

release

\n" + }, + "html_filename": "Version.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/version/Version.js", - "linenr": 120, - "html_filename": "Version.html", - "href": "Version.html#Ext-Version-method-getRelease", - "shortDoc": "

Returns the release component value

\n" - }, - { - "tagname": "method", - "name": "getShortVersion", - "member": "Ext.Version", - "doc": "

Returns shortVersion version without dots and release

\n", - "params": [ + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Version.html#Ext-Version-method-getShortVersion", + "shortDoc": "Returns shortVersion version without dots and release ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/version/Version.js", + "private": false, + "params": [ - ], - "return": { - "type": "String", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/version/Version.js", - "linenr": 180, - "html_filename": "Version.html", - "href": "Version.html#Ext-Version-method-getShortVersion", - "shortDoc": "

Returns shortVersion version without dots and release

\n" - }, - { - "tagname": "method", - "name": "getVersion", - "member": "Ext.Version", - "doc": "

Get the version number of the supplied package name; will return the last registered version\n(last Ext.setVersion call) if there's no package name given.

\n", - "params": [ - { + ], + "name": "getShortVersion", + "owner": "Ext.Version", + "doc": "

Returns shortVersion version without dots and release

\n", + "linenr": 178, + "return": { "type": "String", - "name": "packageName", - "doc": "

(Optional) The package name, for example: 'core', 'touch', 'extjs'

\n", - "optional": false - } - ], - "return": { - "type": "Ext.Version", - "doc": "

The version

\n" + "doc": "\n" + }, + "html_filename": "Version.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/version/Version.js", - "linenr": 270, - "html_filename": "Version.html", - "href": "Version.html#Ext-Version-method-getVersion", - "shortDoc": "Get the version number of the supplied package name; will return the last registered version\n(last Ext.setVersion cal..." - }, - { - "tagname": "method", - "name": "isGreaterThan", - "member": "Ext.Version", - "doc": "

Returns whether this version if greater than the supplied argument

\n", - "params": [ - { - "type": "String/Number", - "name": "target", - "doc": "

The version to compare with

\n", - "optional": false - } - ], - "return": { - "type": "Boolean", - "doc": "

True if this version if greater than the target, false otherwise

\n" + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Version.html#Ext-Version-method-getVersion", + "shortDoc": "Get the version number of the supplied package name; will return the last registered version\n(last Ext.setVersion cal...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/version/Version.js", + "private": false, + "params": [ + { + "type": "String", + "optional": false, + "doc": "

(Optional) The package name, for example: 'core', 'touch', 'extjs'

\n", + "name": "packageName" + } + ], + "name": "getVersion", + "owner": "Ext.Version", + "doc": "

Get the version number of the supplied package name; will return the last registered version\n(last Ext.setVersion call) if there's no package name given.

\n", + "linenr": 268, + "return": { + "type": "Ext.Version", + "doc": "

The version

\n" + }, + "html_filename": "Version.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/version/Version.js", - "linenr": 128, - "html_filename": "Version.html", - "href": "Version.html#Ext-Version-method-isGreaterThan", - "shortDoc": "

Returns whether this version if greater than the supplied argument

\n" - }, - { - "tagname": "method", - "name": "isLessThan", - "member": "Ext.Version", - "doc": "

Returns whether this version if smaller than the supplied argument

\n", - "params": [ - { - "type": "String/Number", - "name": "target", - "doc": "

The version to compare with

\n", - "optional": false - } - ], - "return": { - "type": "Boolean", - "doc": "

True if this version if smaller than the target, false otherwise

\n" + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Version.html#Ext-Version-method-isGreaterThan", + "shortDoc": "Returns whether this version if greater than the supplied argument ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/version/Version.js", + "private": false, + "params": [ + { + "type": "String/Number", + "optional": false, + "doc": "

The version to compare with

\n", + "name": "target" + } + ], + "name": "isGreaterThan", + "owner": "Ext.Version", + "doc": "

Returns whether this version if greater than the supplied argument

\n", + "linenr": 126, + "return": { + "type": "Boolean", + "doc": "

True if this version if greater than the target, false otherwise

\n" + }, + "html_filename": "Version.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/version/Version.js", - "linenr": 137, - "html_filename": "Version.html", - "href": "Version.html#Ext-Version-method-isLessThan", - "shortDoc": "

Returns whether this version if smaller than the supplied argument

\n" - }, - { - "tagname": "method", - "name": "match", - "member": "Ext.Version", - "doc": "

Returns whether this version matches the supplied argument. Example:

\n\n
var version = new Ext.Version('1.0.2beta');\nconsole.log(version.match(1)); // True\nconsole.log(version.match(1.0)); // True\nconsole.log(version.match('1.0.2')); // True\nconsole.log(version.match('1.0.2RC')); // False\n
\n\n", - "params": [ - { - "type": "String/Number", - "name": "target", - "doc": "

The version to compare with

\n", - "optional": false - } - ], - "return": { - "type": "Boolean", - "doc": "

True if this version matches the target, false otherwise

\n" + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Version.html#Ext-Version-method-isLessThan", + "shortDoc": "Returns whether this version if smaller than the supplied argument ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/version/Version.js", + "private": false, + "params": [ + { + "type": "String/Number", + "optional": false, + "doc": "

The version to compare with

\n", + "name": "target" + } + ], + "name": "isLessThan", + "owner": "Ext.Version", + "doc": "

Returns whether this version if smaller than the supplied argument

\n", + "linenr": 135, + "return": { + "type": "Boolean", + "doc": "

True if this version if smaller than the target, false otherwise

\n" + }, + "html_filename": "Version.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/version/Version.js", - "linenr": 155, - "html_filename": "Version.html", - "href": "Version.html#Ext-Version-method-match", - "shortDoc": "Returns whether this version matches the supplied argument. Example:\n\nvar version = new Ext.Version('1.0.2beta');\ncon..." - }, - { - "tagname": "method", - "name": "setVersion", - "member": "Ext.Version", - "doc": "

Set version number for the given package name.

\n", - "params": [ - { - "type": "String", - "name": "packageName", - "doc": "

The package name, for example: 'core', 'touch', 'extjs'

\n", - "optional": false + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Version.html#Ext-Version-method-match", + "shortDoc": "Returns whether this version matches the supplied argument. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/version/Version.js", + "private": false, + "params": [ + { + "type": "String/Number", + "optional": false, + "doc": "

The version to compare with

\n", + "name": "target" + } + ], + "name": "match", + "owner": "Ext.Version", + "doc": "

Returns whether this version matches the supplied argument. Example:

\n\n
var version = new Ext.Version('1.0.2beta');\nconsole.log(version.match(1)); // True\nconsole.log(version.match(1.0)); // True\nconsole.log(version.match('1.0.2')); // True\nconsole.log(version.match('1.0.2RC')); // False\n
\n\n", + "linenr": 153, + "return": { + "type": "Boolean", + "doc": "

True if this version matches the target, false otherwise

\n" }, - { - "type": "String/Ext.Version", - "name": "version", - "doc": "

The version, for example: '1.2.3alpha', '2.4.0-dev'

\n", - "optional": false - } - ], - "return": { - "type": "Ext", - "doc": "\n" + "html_filename": "Version.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/version/Version.js", - "linenr": 256, - "html_filename": "Version.html", - "href": "Version.html#Ext-Version-method-setVersion", - "shortDoc": "

Set version number for the given package name.

\n" - }, - { - "tagname": "method", - "name": "toArray", - "member": "Ext.Version", - "doc": "

Returns this format: [major, minor, patch, build, release]. Useful for comparison

\n", - "params": [ - - ], - "return": { - "type": "Array", - "doc": "\n" + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Version.html#Ext-Version-method-setVersion", + "shortDoc": "Set version number for the given package name. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/version/Version.js", + "private": false, + "params": [ + { + "type": "String", + "optional": false, + "doc": "

The package name, for example: 'core', 'touch', 'extjs'

\n", + "name": "packageName" + }, + { + "type": "String/Ext.Version", + "optional": false, + "doc": "

The version, for example: '1.2.3alpha', '2.4.0-dev'

\n", + "name": "version" + } + ], + "name": "setVersion", + "owner": "Ext.Version", + "doc": "

Set version number for the given package name.

\n", + "linenr": 254, + "return": { + "type": "Ext", + "doc": "\n" + }, + "html_filename": "Version.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/version/Version.js", - "linenr": 172, - "html_filename": "Version.html", - "href": "Version.html#Ext-Version-method-toArray", - "shortDoc": "

Returns this format: [major, minor, patch, build, release]. Useful for comparison

\n" - } - ], - "property": [ + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "Version.html#Ext-Version-method-toArray", + "shortDoc": "Returns this format: [major, minor, patch, build, release]. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/version/Version.js", + "private": false, + "params": [ - ], - "event": [ + ], + "name": "toArray", + "owner": "Ext.Version", + "doc": "

Returns this format: [major, minor, patch, build, release]. Useful for comparison

\n", + "linenr": 170, + "return": { + "type": "Array", + "doc": "\n" + }, + "html_filename": "Version.html" + } + ], + "property": [ - ], - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/version/Version.js", - "linenr": 1, - "html_filename": "Version.html", - "href": "Version.html#Ext-Version", - "cssVar": [ + ], + "cssVar": [ - ], - "cssMixin": [ + ], + "cssMixin": [ - ], - "component": false, + ], + "event": [ + + ] + }, + "singleton": false, + "alias": null, "superclasses": [ ], + "protected": false, + "tagname": "class", + "mixins": [ + + ], + "href": "Version.html#Ext-Version", "subclasses": [ ], + "static": false, + "author": "Jacky Nguyen ", + "component": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/version/Version.js", + "private": false, + "alternateClassNames": [ + + ], + "name": "Ext.Version", + "doc": "

A utility class that wrap around a string version number and provide convenient\nmethod to perform comparison. See also: compare. Example:

\n\n
var version = new Ext.Version('1.0.2beta');\nconsole.log(\"Version is \" + version); // Version is 1.0.2beta\n\nconsole.log(version.getMajor()); // 1\nconsole.log(version.getMinor()); // 0\nconsole.log(version.getPatch()); // 2\nconsole.log(version.getBuild()); // 0\nconsole.log(version.getRelease()); // beta\n\nconsole.log(version.isGreaterThan('1.0.1')); // True\nconsole.log(version.isGreaterThan('1.0.2alpha')); // True\nconsole.log(version.isGreaterThan('1.0.2RC')); // False\nconsole.log(version.isGreaterThan('1.0.2')); // False\nconsole.log(version.isLessThan('1.0.2')); // True\n\nconsole.log(version.match(1.0)); // True\nconsole.log(version.match('1.0.2')); // True\n
\n", "mixedInto": [ ], - "allMixins": [ + "linenr": 1, + "xtypes": [ - ] + ], + "html_filename": "Version.html", + "extends": null }); \ No newline at end of file