[ALOY-184] Inspect <Require> tag's elements at compile time
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2012-08-24T13:27:22.000+0000 |
Affected Version/s | 2012 Sprint 17 |
Fix Version/s | 2012 Sprint 17, Release 3.0.0 |
Components | XML |
Labels | n/a |
Reporter | Tony Lukasavage |
Assignee | Unknown |
Created | 2012-08-16T07:52:30.000+0000 |
Updated | 2018-03-07T22:26:01.000+0000 |
Description
A developer originally asked if we could improve the
<Alloy>
<TabGroup>
<Require src="someTabView"/>
</TabGroup>
</Alloy>
This is only one use case. We'll need to do this to ensure that the first view in an Alloy app is a top-level view as well, since we assert that index.xml contains a Window, SplitWindow, or TabGroup.
index.xml
<Alloy>
<Require src="someWindowView"/>
</Alloy>
Comments
No comments