Created
May 3, 2012 16:01
-
-
Save tonylukasavage/2586790 to your computer and use it in GitHub Desktop.
html_vs_xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- HTML and CSS --> | |
<html> | |
<head> | |
<title>Declarative UI Master Detail Test</title> | |
<script src="/controller/index.js"></script> | |
</head> | |
<body> | |
<div id="mainWindow" data-ti-api="Window" style="-ti-navBarHidden:false;"> | |
<div id="header" data-ti-api="View"> | |
<div id="title" data-ti-api="Label" style="-ti-text:'My Title';"></div> | |
</div> | |
</div> | |
</body> | |
<script> | |
</html> | |
<!-- XML and JSON (represented as an attribute here) --> | |
<Window id="mainWindow" controller="/controller/index.js" navBarHidden="false"> | |
<View id="header"> | |
<Label id="title" text="My Title"/> | |
</View> | |
</Window> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment