Skip to content

Commit 590719c

Browse files
committed
add enviroment definitions
update pqckages
1 parent f37ce03 commit 590719c

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

Manifest.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
"encoding": "utf-8",
1313
"class": "source/class",
1414
"resource": "source/resource",
15-
"translation": "source/translation"
15+
"translation": "source/translation",
16+
"environmentChecks": {
17+
"qxl.versionlabel.*": "qxl.versionlabel.VersionLabel"
18+
}
1619
},
1720
"requires": {
1821
"@qooxdoo/compiler": "^1.0.0-beta",

qx-lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"libraries": [
33
{
44
"library_name": "Qooxdoo API Viewer",
5-
"library_version": "1.0.0-beta.4",
6-
"path": "qx_packages/qooxdoo_qxl_apiviewer_v1_0_0-beta_4",
5+
"library_version": "1.0.14",
6+
"path": "qx_packages/qooxdoo_qxl_apiviewer_v1_0_14",
77
"uri": "qooxdoo/qxl.apiviewer",
88
"repo_name": "qooxdoo/qxl.apiviewer",
9-
"repo_tag": "v1.0.0-beta.4"
9+
"repo_tag": "v1.0.14"
1010
}
1111
],
1212
"version": "2.1.0"

source/class/qxl/versionlabel/VersionLabel.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ qx.Class.define("qxl.versionlabel.VersionLabel",
2929
if (value == undefined)
3030
{
3131
// if no parameter value given: use the environment variable
32-
value = qx.core.Environment.get("versionLabel.name");
32+
value = qx.core.Environment.get("qxl.versionlabel.name");
3333
}
3434

3535
if (version == undefined)
3636
{
3737
// if no parameter value given: use the environment variable
38-
version = qx.core.Environment.get("versionLabel.version");
38+
version = qx.core.Environment.get("qxl.versionlabel.version");
3939

4040
if (version == null)
4141
{
@@ -56,12 +56,12 @@ qx.Class.define("qxl.versionlabel.VersionLabel",
5656
* The name of the version label which is shown in the upper right corner.
5757
* Defaults to 'qooxdoo'.
5858
*/
59-
qx.core.Environment.add("versionLabel.name", "qooxdoo");
59+
qx.core.Environment.add("qxl.versionlabel.name", "qooxdoo");
6060

6161
/**
6262
* The version string of the version label which is shown in the upper right corner.
6363
* Defaults to 'null' to be able to fallback to 'qx.revision' or 'qx.version' easily.
6464
*/
65-
qx.core.Environment.add("versionLabel.version", null);
65+
qx.core.Environment.add("qxl.versionlabel.version", null);
6666
}
6767
});

0 commit comments

Comments
 (0)