View myfirstltng.cmp
<aura:component implements="force:appHostable" controller="myfirstltngController"> | |
<aura:attribute name="account" type="Account"/> | |
<aura:handler name="init" action="{!c.init}" value="{!this}"/> | |
{!v.account.Name} | |
<button onclick="{!c.save}">click</button> | |
</aura:component> |
View better-gist-styles.css
/* Better styles for embedding GitHub Gists */ | |
.gist{font-size:13px;line-height:18px;margin-bottom:20px;width:100%} | |
.gist pre{font-family:Menlo,Monaco,'Bitstream Vera Sans Mono','Courier New',monospace !important} | |
.gist-meta{font-family:Helvetica,Arial,sans-serif;font-size:13px !important} | |
.gist-meta a{color:#26a !important;text-decoration:none} | |
.gist-meta a:hover{color:#0e4071 !important} |