[TIMOB-23346] Windows: apiName should use Ti instead of Titanium namespace
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-05-31T18:59:44.000+0000 |
Affected Version/s | Release 5.3.0 |
Fix Version/s | Release 5.4.0 |
Components | Windows |
Labels | n/a |
Reporter | Fokke Zandbergen |
Assignee | Christopher Williams |
Created | 2016-05-10T08:54:27.000+0000 |
Updated | 2016-06-30T14:43:08.000+0000 |
Description
apiName
should use the Ti.\*
namespace and not Titanium.\*
See:
* Reference: http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.View-property-apiName
* iOS: https://github.com/appcelerator/titanium_mobile/blob/master/iphone/Classes/TiViewProxy.m#L68
* Android: https://github.com/appcelerator/titanium_mobile/blob/415bd6c66dcc55b1a59a59574f3babd3c3a84ede/android/modules/ui/src/java/ti/modules/titanium/ui/ViewProxy.java#L42
Note that when we do switch to this, it would mean also updating our apidoc generation stuff, since the docs need the Titanium.* name to get merged with other platform properly.
That's apidoc generation things specific for Windows then? Because iOS and Android already use
Ti.\*
Verified using: Windows 10 Pro Ti SDK: 5.4.0.v20160629063537 Appc NPM: 4.2.7-2 Appc CLI: 5.4.0-23 Appc Studio: 4.7.0.201606220541 Lumia 930: 10.0 Lumia 520: 8.1 apiName now returns Ti.* not Titanium.* Closing ticket