Created
January 6, 2012 21:13
-
-
Save phated/1572430 to your computer and use it in GitHub Desktop.
JSON Template Object
This file contains 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
var template; | |
template = [ | |
{ | |
div: { | |
div: { | |
div: { | |
a: "Project Name", | |
ul: [ | |
{ | |
li: { | |
a: "Home" | |
} | |
}, | |
{ | |
li: { | |
a: "About" | |
} | |
}, | |
{ | |
li: { | |
a: "Contact" | |
} | |
} | |
] | |
} | |
} | |
} | |
}, | |
{ | |
div: [ | |
{ | |
span: "another test" | |
} | |
] | |
} | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment