Skip to content

Instantly share code, notes, and snippets.

@tonylukasavage
Created August 13, 2012 19:05
Show Gist options
  • Save tonylukasavage/3343303 to your computer and use it in GitHub Desktop.
Save tonylukasavage/3343303 to your computer and use it in GitHub Desktop.
Alloy <Include>
<Alloy>
<Window>
<Button/>
<Include src="viewInclude"/>
</Window>
</Alloy>
<Alloy>
<View>
<Label/>
<Button/>
<Label>
<ImageView/>
</View>
</Alloy>
<!--
Notes:
- IDs must be managed by developer. Conflicts are possible. We can show warnings/errors if need be.
- This all happens at compile time.
- Nested <Include> tags are handled appropriately.
-->
<Alloy>
<Window>
<Button/>
<View>
<Label/>
<Button/>
<Label>
<ImageView/>
</View>
</Window>
</Alloy>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment