[ALOY-1647] Add support for camelCase, kabab-case, and snake_case XML elements in Alloy
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | None |
Status | Resolved |
Resolution | Won't Do |
Resolution Date | 2019-03-15T18:03:20.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | alloy, case, element, titanium, xml |
Reporter | Brenton House |
Assignee | Feon Sua Xin Miao |
Created | 2019-03-06T23:51:58.000+0000 |
Updated | 2019-03-15T18:03:20.000+0000 |
Description
Add support for camelCase, kabab-case, and snake_case XML elements in Alloy. Right now, only PascalCase is supported.
For Example, instead of
{noformat}
{noformat}
You could write it any of these different ways:
{noformat}
{noformat}
Not a huge feature but it is a relatively small change and gives a lot of flexibility and control to the developer.
Added PR: https://github.com/appcelerator/alloy/pull/923
This is a really bad idea. We have a convention. If you use Alloy, you do PascalCase. Period. With the Vue.js support, you use kebab-case. Period. Supporting different conventions is confusing and antipattern.