Skip to content

Instantly share code, notes, and snippets.

@blaines

blaines/gist:446275

Created Jun 21, 2010
Embed
What would you like to do?
template =
{
form:{
method:"post","class":["new","blogpost"],fields:[
{name:"title",type:"text","class":"title"},
{name:"body",type:"textarea","class":"body"}
]
}
};
// now try
template.form.method;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment