[ALOY-1022] Bad JS-Code when using '-' in element id
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Resolved |
Resolution | Won't Fix |
Resolution Date | 2015-01-05T14:38:11.000+0000 |
Affected Version/s | Alloy 1.4.0, Alloy 1.3.1 |
Fix Version/s | n/a |
Components | Tooling, XML |
Labels | alloy, compiler |
Reporter | André Böhlke |
Assignee | Tim Poulsen |
Created | 2014-05-15T19:59:03.000+0000 |
Updated | 2015-01-05T14:38:11.000+0000 |
Description
When I use the '-' char in element identifiers (e.g. ), the alloy code generator will generate bad JS-Code like
$.__views.foo-bar = ...
Pull request https://github.com/appcelerator/alloy/pull/395 fixes this.
[~a.boehlke] Thanks. We're looking into your change now to make sure it doesn't have any unintended consequences or implications for future maintenance.
See comment on the PR for the rationale behind closing this ticket as Won't Fix.