Skip to content

Commit 3c8ca25

Browse files
committed
Mark Tabris object properties as "const"
These properties can't be changed and have no change events. The documentation and type declarations need to reflect that. Change-Id: If561c3487a23869fcb995c72630842bb7522b022
1 parent 9bf0344 commit 3c8ca25

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/api/Tabris.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"type": "boolean",
1414
"default": "false",
1515
"readonly": true,
16+
"const": true,
1617
"description": "Indicates that the framework has been fully initialized. This happens before the main application module is parsed and executed, so it is only relevant for framework and plug-in developers."
1718
},
1819
"version": {
@@ -22,7 +23,8 @@
2223
"description": "The version of the tabris module."
2324
},
2425
"symbols": {
25-
"type": {"indexType": "string", "map": {"symbol": "Symbol"}}
26+
"type": {"indexType": "string", "map": {"symbol": "Symbol"}},
27+
"const": true
2628
}
2729
},
2830
"methods": {

0 commit comments

Comments
 (0)