Skip to content

Instantly share code, notes, and snippets.

@keyle
Created December 16, 2011 07:11
Show Gist options
  • Save keyle/1484913 to your computer and use it in GitHub Desktop.
Save keyle/1484913 to your computer and use it in GitHub Desktop.
taml 4
ns machines="domain.machines"
ns orgs="domain.orgs"
html {
body {
h2 content="Hello world"
p {
"This is some paragraph text"
}
a href="http://gmail.com" target="_blank" {
"Open Gmail"
}
a content="Open Gmail" href="http://gmail.com" target="_blank"
machines:mymachine content="content" arg1="arg1"
button id="btn" content<={myTextValue "yo"} click={handleBtnClick}
input {
id="field"
type="text"
value<=>{myTextValue}(onBlur)
}
}
script "javascript" {
myTextValue = "default";
}
script "jquery"
{
$(document).ready(function(){
alert('Hello, Taml-World!');
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment